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

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

Build:
Build:
LAST BUILD BRANCH: fix/issue-129-enum-type-check-validator
DEFAULT BRANCH: master
Ran 20 May 2026 02:38PM UTC
Jobs 1
Files 167
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

20 May 2026 02:36PM UTC coverage: 98.483% (-0.07%) from 98.554%
26169686326

Pull #128

github

wol-soft
Close filter/composition coverage gaps: remove dead code, add targeted tests

- Remove unreachable !is_array() guards in CompositionBranchClassifier:
  the not branch always receives an array (NotValidatorFactory wraps it),
  and non-array allOf/anyOf/oneOf values crash before the classifier runs.

- Drop redundant testOutputTypeNotExtendedWhenReturnTypeAlreadyInBaseType:
  the applyOutputType early-return path is already exercised by the
  existing testOutputSpaceNotCompositionRunsPostTransform which uses the
  same type:["string","integer"] + stringToInt schema shape.

- Extend testNoExtendedInstanceOfCheckWhenAllObjectBranchesAreNonEmpty
  with an unparseable-string assertion: 'Hello' passes the input-space
  anyOf (via type:string) but fails the dateTime filter, throwing
  InvalidFilterValueException.

- Move testFilterOnObjectTypedPropertyWithNestedSchema to
  FilterTypeCompatibilityTest (no composition in that schema) and add a
  real runtime assertion: array input is instantiated to the inner class
  by ObjectInstantiationDecorator, then the filter converts it to DateTime.

- Add static test cases for root-level then/else constraining a filtered
  subproperty with output-type-space keywords, a filter inside an if
  sub-schema within an allOf branch, and root-level not with an
  input-space keyword on a filtered subproperty.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #128: Filter composition ordering

771 of 790 new or added lines in 22 files covered. (97.59%)

5454 of 5538 relevant lines covered (98.48%)

594.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
97.65
-2.35% src/PropertyProcessor/Filter/FilterProcessor.php
6
96.05
src/PropertyProcessor/Filter/CompositionCompatibilityChecker.php
2
57.14
0.0% src/Model/Property/PropertyProxy.php
1
99.22
-0.78% src/Model/Validator/Factory/Composition/IfValidatorFactory.php
1
99.32
-0.68% src/Model/Validator/FilterValidator.php
1
98.89
src/PropertyProcessor/Filter/CompositionBranchClassifier.php
Jobs
ID Job ID Ran Files Coverage
1 Unit - 26169686326.1 20 May 2026 02:38PM UTC 167
98.48
GitHub Action Run
Source Files on build 26169686326
  • Tree
  • List 167
  • Changed 23
  • Source Changed 22
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26169686326
  • Pull Request #128
  • PR Base - master (#25723523596)
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