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

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

Build:
Build:
LAST BUILD BRANCH: claude/issue-171-invalid-type-object-message
DEFAULT BRANCH: master
Ran 24 Jul 2026 09:48PM 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

24 Jul 2026 09:48PM UTC coverage: 45.818% (+0.8%) from 45.055%
30128950886

push

github

claude
Disambiguate array vs. object in InvalidTypeException's "got" side

json_decode($x, true) decodes both JSON arrays and JSON objects to a plain
PHP array, so gettype() alone can't tell them apart and produced useless
messages like "requires 'array', got 'array'" when a JSON object was
rejected. Use array_is_list() - the same signal already used at every
array/object type guard in the generator - to report 'object' for a
non-list array instead.

Refs wol-soft/php-json-schema-model-generator#171

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

7 of 7 new or added lines in 1 file covered. (100.0%)

378 of 825 relevant lines covered (45.82%)

2.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit - 30128950886.1 24 Jul 2026 09:48PM UTC 87
45.82
GitHub Action Run
Source Files on build 30128950886
  • Tree
  • List 87
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30128950886
  • f1328204 on github
  • Prev Build on master (#29660808558)
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