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

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

Build:
Build:
LAST BUILD BRANCH: fix/issue-110
DEFAULT BRANCH: master
Ran 06 Mar 2026 10:37PM 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

06 Mar 2026 10:23PM UTC coverage: 98.658% (-0.04%) from 98.693%
22784825213

Pull #115

github

Enno Woortmann
Add tests to cover new PropertyMerger code paths

- testAllOfIntersectionNarrowsMultiTypeToSubset: covers the allOf
  intersection body (lines 239, 249, 256–263) where the intersection
  narrows a [integer, string] root to ?int via an allOf branch.

- testAllOfIntersectionPreservesExplicitNullableMultiType: covers the
  explicit-nullable preservation path (lines 245–246) where an
  explicitly-nullable root type keeps its null after allOf intersection.

- testRootObjectPropertyNotOverwrittenByAnyOfObjectBranch: covers the
  nested-schema early return (line 57) in PropertyMerger::merge() when
  both existing and incoming properties carry a nested schema.

- testWarningIsEmittedWhenBranchTypeConflictsWithRootType: covers the
  warning echo (lines 112–116) in guardRootPrecedence() by using
  generateDirectory() with output enabled and asserting the printed
  warning text.

Also adds the four corresponding test schema files.
Pull Request #115: Type system (Type widening for compositions, union types)

254 of 259 new or added lines in 22 files covered. (98.07%)

3677 of 3727 relevant lines covered (98.66%)

554.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
64.29
0.0% src/Model/Property/PropertyProxy.php
1
99.08
-0.92% src/PropertyProcessor/ComposedValue/AbstractComposedValueProcessor.php
1
99.04
-0.4% src/PropertyProcessor/Property/BaseProcessor.php
2
98.28
src/Utils/PropertyMerger.php
Jobs
ID Job ID Ran Files Coverage
1 Unit - 22784825213.1 06 Mar 2026 10:37PM UTC 133
98.66
GitHub Action Run
Source Files on build 22784825213
  • Tree
  • List 133
  • Changed 22
  • Source Changed 22
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22784825213
  • 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