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

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

Build:
Build:
LAST BUILD BRANCH: fix/issue-110
DEFAULT BRANCH: master
Ran 06 Mar 2026 08:17PM UTC
Files 133
Run time 4s
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

06 Mar 2026 08:15PM UTC coverage: 98.497% (-0.2%) from 98.693%
22780353222.1

Pull #115

github

Enno Woortmann
Transfer if/then/else branch properties to parent schema with correct union types

- if/then/else composition now transfers all branch properties (if, then, else)
  to the parent schema, making them accessible as typed properties on the model
- ConditionalPropertyValidator distinguishes composed properties (all branches,
  for transfer) from data branches (then/else only, for widening checks), so
  the if condition block is never treated as a competing data branch when
  computing type-widening eligibility
- Cross-typed then/else branches produce union type hints (int | string | null),
  consistent with anyOf/oneOf behaviour
- then-only branches produce nullable hints (?int) since the branch may not apply
- Fix PropertyMerger readonly constructor promotion (PHP 8.1 only) to plain
  private for PHP 8.0 compatibility
- Add PHP version compatibility rule to CLAUDE.md
- Document cross-typed if/then/else union type behaviour in docs/source/combinedSchemas/if.rst
Pull Request #115: Type system (Type widening for compositions, union types)

3671 of 3727 relevant lines covered (98.5%)

553.38 hits per line

Source Files on job Unit - 22780353222.1
  • Tree
  • List 133
  • Changed 22
  • Source Changed 22
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22780353222
  • 2d3a2b27 on github
  • Prev Job for on fix/issue-110 (#22553948082.1)
  • Next Job for on fix/issue-110 (#22784825213.1)
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