• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

brotkrueml / schema / #479
95%
master: 96%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 14 Oct 2023 09:31AM UTC
Jobs 1
Files 50
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Oct 2023 09:23AM UTC coverage: 75.243% (-0.06%) from 75.301%
#479

push

php-coveralls

brotkrueml
refactor: use attribute to determine type

With #107 registering types via the PHP attribute `Brotkrueml\Schema\Attributes\Type`
was introduced to decouple the class name from the type. However, the
AbstractType->getType() method still checks for the class name (and has
a logic when a type starts with a number and therefore the class starts with
an underscore).

Now the attribute is taken into account. To speed up the determination of the type,
a static property is introduced which caches already resolved types.

14 of 14 new or added lines in 1 file covered. (100.0%)

696 of 925 relevant lines covered (75.24%)

6.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #479.1 14 Oct 2023 09:31AM UTC 0
75.24
Source Files on build #479
Detailed source file information is not available for this build.
  • Back to Repo
  • a7b6dee0 on github
  • Prev Build on main
  • Next Build on main
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc