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

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

Build:
Build:
LAST BUILD BRANCH: fix/issue-130-duplicate-ref-builder-methods
DEFAULT BRANCH: master
Ran 28 May 2026 01:53PM UTC
Jobs 1
Files 168
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

28 May 2026 01:51PM UTC coverage: 98.865% (-0.05%) from 98.912%
26578946039

push

github

wol-soft
Fix duplicate builder methods when two properties share a $ref (#130)

PropertyProxy's fluent setters returned the wrapped inner property
instead of $this, so a chain like `(clone $proxy)->setReadOnly(false)->...`
silently escaped to the underlying Property. The BuilderClassPostProcessor
relies on chain identity to mutate each property's clone, so two schema
properties pointing at the same $ref collapsed onto the first one's
underlying Property — emitting duplicate getter/setter pairs under the
first property's name and producing a fatal "Cannot redeclare" error.

Every fluent setter on PropertyProxy now mutates the inner property and
returns $this. This also corrects four other call sites that had the same
latent bug (composition merge, transferred properties, additional
properties accessor, schema dependencies).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

10 of 24 new or added lines in 1 file covered. (41.67%)

5921 of 5989 relevant lines covered (98.86%)

586.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
66.29
1.36% src/Model/Property/PropertyProxy.php
Jobs
ID Job ID Ran Files Coverage
1 Unit - 26578946039.1 28 May 2026 01:53PM UTC 168
98.86
GitHub Action Run
Source Files on build 26578946039
  • Tree
  • List 168
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26578946039
  • 90119c98 on github
  • Prev Build on master (#26519635710)
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