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

wol-soft / php-json-schema-model-generator / 26374991150
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: fix/issue-129-enum-type-check-validator
DEFAULT BRANCH: master
Ran 24 May 2026 10:52PM UTC
Jobs 1
Files 162
Run time 1min
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

24 May 2026 10:50PM UTC coverage: 98.555% (+0.001%) from 98.554%
26374991150

Pull #136

github

wol-soft
Fix EnumPostProcessor stripping type-check validators alongside enum validators

When a property declared both "type": "string" (or "type": "integer") and
"enum", the EnumPostProcessor only removed the EnumValidator but left the
TypeCheckValidator (is_string/is_int check) in place. Passing a valid enum
instance to the setter then incorrectly triggered that type check and threw
InvalidTypeException.

Fix: also strip TypeCheckInterface validators when the enum post-processor
takes over a property, since the enum filter handles conversion and the
UnitEnum guard covers type safety.

Fixes #129

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #136: Fix EnumPostProcessor

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

4773 of 4843 relevant lines covered (98.55%)

644.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit - 26374991150.1 24 May 2026 10:52PM UTC 162
98.55
GitHub Action Run
Source Files on build 26374991150
  • Tree
  • List 162
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26374991150
  • Pull Request #136
  • PR Base - master (#26230600841)
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