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

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

Build:
Build:
LAST BUILD BRANCH: fix/issue-129-enum-type-check-validator
DEFAULT BRANCH: master
Ran 11 May 2026 10:19PM UTC
Jobs 1
Files 162
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

11 May 2026 10:16PM UTC coverage: 98.554% (+0.003%) from 98.551%
25700642152

Pull #126

github

Enno Woortmann
Add content validator registry for contentMediaType/contentEncoding (Draft 7 Phase 5)

Introduces an opt-in registry on GeneratorConfiguration that lets users register
ContentValidatorInterface implementations keyed by media type and/or encoding.
At generation time the most specific matching validator is embedded into the
generated model; at runtime it is called against the raw string before the
MediaString wrapper is applied. Validator failures throw a ContentException whose
getPrevious() carries the original error for programmatic inspection.

addContentValidator() accepts null (wildcard), string, or string[] for each
dimension; arrays expand via Cartesian product so a single call can cover
multiple media types or encodings at once.
Pull Request #126: Json schema draft7

244 of 252 new or added lines in 13 files covered. (96.83%)

4 existing lines in 4 files now uncovered.

4770 of 4840 relevant lines covered (98.55%)

643.67 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
57.14
-3.17% src/Model/Property/PropertyProxy.php

Coverage Regressions

Lines Coverage ∆ File
1
99.12
-0.88% src/SchemaProcessor/PostProcessor/AdditionalPropertiesAccessorPostProcessor.php
1
98.18
-1.82% src/SchemaProcessor/PostProcessor/Internal/AdditionalPropertiesPostProcessor.php
1
97.1
-0.71% src/SchemaProcessor/PostProcessor/Internal/ExtendObjectPropertiesMatchingPatternPropertiesPostProcessor.php
1
99.38
-0.63% src/SchemaProcessor/PostProcessor/Internal/SerializationPostProcessor.php
Jobs
ID Job ID Ran Files Coverage
1 Unit - 25700642152.1 11 May 2026 10:19PM UTC 162
98.55
GitHub Action Run
Source Files on build 25700642152
  • Tree
  • List 162
  • Changed 17
  • Source Changed 11
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25700642152
  • Pull Request #126
  • PR Base - master (#24574026820)
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