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

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

Build:
Build:
LAST BUILD BRANCH: fix/issue-130-duplicate-ref-builder-methods
DEFAULT BRANCH: master
Ran 21 Mar 2026 12:38AM UTC
Jobs 1
Files 133
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

21 Mar 2026 12:37AM UTC coverage: 98.585% (-0.1%) from 98.693%
23368127510

Pull #115

github

Enno Woortmann
Refactor PropertyMerger public API for clarity and reduced parameter count

- Replace ?string $compositionProcessor with bool $isAllOf in merge(),
  removing the stringly-typed is_a() check from PropertyMerger itself
- Split narrowToIntersection() (8 params) into two focused methods:
  narrowToIntersection(existing, incoming, message) for allOf branch merging
  with nullable-preservation semantics, and applyTypeConstraint(existing,
  constraintType, message) for strict patternProperties enforcement
- Move $implicitNull derivation inside PropertyMerger (read from
  $generatorConfiguration directly) instead of requiring callers to pass it
- Replace $existingProperty/$incomingProperty params with bool $isRequired
  in buildEffectiveTypeSet, removing the PropertyInterface dependency
- Extract resolveEffectiveIntersection() to eliminate the duplicated
  validation + effective-set computation shared by both public methods
- Inline applyAllOfIntersection() which had become a trivial one-liner
Pull Request #115: Type system (Type widening for compositions, union types)

481 of 491 new or added lines in 51 files covered. (97.96%)

1 existing line in 1 file now uncovered.

3831 of 3886 relevant lines covered (98.58%)

549.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
62.07
-2.22% src/Model/Property/PropertyProxy.php
3
98.05
src/Utils/PropertyMerger.php
2
97.87
-0.59% src/SchemaProcessor/PostProcessor/Internal/ExtendObjectPropertiesMatchingPatternPropertiesPostProcessor.php
1
99.09
-0.91% src/PropertyProcessor/ComposedValue/AbstractComposedValueProcessor.php
1
99.03
-0.41% src/PropertyProcessor/Property/BaseProcessor.php

Coverage Regressions

Lines Coverage ∆ File
1
99.03
-0.41% src/PropertyProcessor/Property/BaseProcessor.php
Jobs
ID Job ID Ran Files Coverage
1 Unit - 23368127510.1 21 Mar 2026 12:38AM UTC 133
98.58
GitHub Action Run
Source Files on build 23368127510
  • Tree
  • List 133
  • Changed 112
  • Source Changed 112
  • Coverage Changed 48
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23368127510
  • Pull Request #115
  • PR Base - master (#22553948082)
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