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

wol-soft / php-json-schema-model-generator-production / 29530702040
45%
master: 46%

Build:
Build:
LAST BUILD BRANCH: claude/issue-171-invalid-type-object-message
DEFAULT BRANCH: master
Ran 16 Jul 2026 08:07PM UTC
Jobs 1
Files 87
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

16 Jul 2026 07:57PM UTC coverage: 46.172% (+24.6%) from 21.548%
29530702040

Pull #19

github

claude
Make enum/const messages self-descriptive

EnumException and InvalidConstException were the only constraint violations
that didn't say what would have satisfied them — "declined by enum
constraint" / "declined by const constraint" gave no indication of the
allowed/expected value or what was actually provided, unlike every other
constraint (Minimum, MaxLength, Pattern, Format, ...), which states its
bound directly in the message. Both getters (getAllowedValues(),
getExpectedValue()) already existed, but reading them meant an extra call
just to explain a common failure.

Messages now read "Value for 'x' must be <expected>, got <got>" (const) /
"... must be one of [<allowed>], got <got>" (enum). Values render through a
shared ValueFormatter (json_encode-based, with a var_export fallback for
values json_encode can't handle) since these are constraints on JSON data —
scalars, arrays, and objects all render consistently rather than needing
separate handling. Enum's allowed-values list is capped at 8 entries before
truncating to a 5-item preview + count, so a large enum doesn't turn the
message into a single unreadable line.
Pull Request #19: Fix nested composition indentation + add data-instance JSON pointer (issue #131)

79 of 81 new or added lines in 11 files covered. (97.53%)

1 existing line in 1 file now uncovered.

392 of 849 relevant lines covered (46.17%)

1.57 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
78.95
78.95% src/Exception/Object/NestedObjectException.php

Coverage Regressions

Lines Coverage ∆ File
1
81.08
81.08% src/Exception/ComposedValue/ConditionalException.php
Jobs
ID Job ID Ran Files Coverage
1 Unit - 29530702040.1 16 Jul 2026 08:07PM UTC 87
46.17
GitHub Action Run
Source Files on build 29530702040
  • Tree
  • List 87
  • Changed 13
  • Source Changed 10
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29530702040
  • Pull Request #19
  • PR Base - master (#28628908337)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc