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

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

Build:
Build:
LAST BUILD BRANCH: claude/mr-74-review-adoption-3p8hdm
DEFAULT BRANCH: master
Ran 24 Mar 2026 11:00AM UTC
Jobs 1
Files 134
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 Mar 2026 10:59AM UTC coverage: 98.525% (-0.06%) from 98.58%
23486015113

Pull #121

github

Enno Woortmann
Add composition required promotion and fix allOf untyped-branch type erasure

When a property is guaranteed present by composition constraints, promote
it to non-nullable in the generated type hint (nullable=false) without
changing isRequired(), so template short-circuit behaviour is preserved.

Promotion rules (via new CompositionRequiredPromotionPostProcessor):
- allOf: required in any branch → promote (all branches hold simultaneously)
- anyOf/oneOf: required in every branch → promote (matching branch always provides it)
- if/then/else: required in both then and else → promote (one always applies)

Also fixes a bug in PropertyMerger where a truly-untyped allOf branch
(no 'type' keyword) incorrectly wiped the type from a typed sibling
branch. For allOf, an untyped branch adds no type constraint.
Pull Request #121: Add composition required promotion and fix allOf untyped-branch type erasure

53 of 56 new or added lines in 3 files covered. (94.64%)

3941 of 4000 relevant lines covered (98.53%)

571.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
94.0
src/SchemaProcessor/PostProcessor/Internal/CompositionRequiredPromotionPostProcessor.php
Jobs
ID Job ID Ran Files Coverage
1 Unit - 23486015113.1 24 Mar 2026 11:00AM UTC 134
98.53
GitHub Action Run
Source Files on build 23486015113
  • Tree
  • List 134
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23486015113
  • Pull Request #121
  • PR Base - master (#23464595400)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc