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

wol-soft / php-json-schema-model-generator-production / 26771556525
22%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2026 05:42PM UTC
Jobs 1
Files 86
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

01 Jun 2026 05:41PM UTC coverage: 22.282% (-1.2%) from 23.529%
26771556525

push

github

wol-soft
Add accessor classes and default serialization methods for Phase 3

- Add ImmutableAdditionalPropertiesAccessor (get/getAll only, readonly array)
- Add AdditionalPropertiesAccessor (mutable, required setter/remover closures)
  Closures are used for mutation because set/remove must invoke model-specific
  validation logic (base validators, minProperties, rawModelDataInput update)
  which varies per schema and cannot be expressed as a generic interface on the
  production lib class.
- Add PatternPropertiesAccessor (get only, array reference to backing field)
- Add Meta (rawInput() via array reference to _rawModelDataInput)
- Update SerializableTrait._getValues to call _serializeAdditionalProperties and
  _serializePatternProperties directly via property_exists() checks, removing
  the serialization hook as the vehicle for these concerns
- Add default _serializeAdditionalProperties and _serializePatternProperties to
  the trait; generated classes override _serializeAdditionalProperties only when
  a transforming filter requires it

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2 of 48 new or added lines in 5 files covered. (4.17%)

166 of 745 relevant lines covered (22.28%)

0.75 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
55.56
-11.11% src/Traits/SerializableTrait.php
10
0.0
src/Accessor/AdditionalPropertiesAccessor.php
6
0.0
src/Accessor/PatternPropertiesAccessor.php
5
0.0
src/Accessor/ImmutableAdditionalPropertiesAccessor.php
3
0.0
src/Accessor/Meta.php
Jobs
ID Job ID Ran Files Coverage
1 Unit - 26771556525.1 01 Jun 2026 05:42PM UTC 86
22.28
GitHub Action Run
Source Files on build 26771556525
  • Tree
  • List 86
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26771556525
  • f1cb3ab3 on github
  • Prev Build on master (#26743894075)
  • Next Build on master (#26772185957)
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