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

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

Build:
Build:
LAST BUILD BRANCH: claude/remove-ext-json-requirement-6rewh4
DEFAULT BRANCH: master
Ran 02 Jul 2026 11:53PM UTC
Jobs 1
Files 170
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

02 Jul 2026 11:52PM UTC coverage: 98.749% (-0.003%) from 98.752%
28628957811

Pull #160

github

wol-soft
Add JSON Pointer (RFC 6901) stamping on all ValidationExceptions

Every ValidationException now carries a getJsonPointer() method (provided
by the production library) that identifies the schema keyword that rejected
the value (e.g. /properties/age/minimum, /patternProperties/^S~0~1).

Changes in the generator:
- All validator factories call ->withJsonPointer() on every validator they
  construct, threading the pointer from the JsonSchema pointer registry
- AbstractPropertyValidator gains withJsonPointer() / getJsonPointer();
  withJsonPointer() forwards resolution to the clone so the validator
  resolution chain works correctly for recursive $ref schemas
- FilterValidator overrides withJsonPointer() to propagate the pointer to
  its embedded filterValueValidator
- MediaStringModifier, EnumPostProcessor, FilterValidatorFactory, and
  ExtendObjectPropertiesMatchingPatternPropertiesPostProcessor all pass
  the appropriate pointer through FilterProcessor::process()
- AdditionalPropertiesAccessorPostProcessor resolves the primary pointer
  from the synthesised #[JsonPointer] attribute on each property
- PhpAttribute gains getArguments() to support the above at generation time
- Documentation updated; all existing pointer-assertion tests are merged
  into their sibling validation tests rather than being standalone

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #160: Add JSON Pointer (RFC 6901) stamping on all ValidationExceptions

168 of 169 new or added lines in 30 files covered. (99.41%)

4 existing lines in 1 file now uncovered.

6473 of 6555 relevant lines covered (98.75%)

570.3 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
99.4
-0.6% src/SchemaProcessor/PostProcessor/AdditionalPropertiesAccessorPostProcessor.php

Coverage Regressions

Lines Coverage ∆ File
4
96.69
-0.06% src/Model/Schema.php
Jobs
ID Job ID Ran Files Coverage
1 Unit - 28628957811.1 02 Jul 2026 11:53PM UTC 170
98.75
GitHub Action Run
Source Files on build 28628957811
  • Tree
  • List 170
  • Changed 32
  • Source Changed 32
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28628957811
  • Pull Request #160
  • PR Base - master (#28626744072)
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