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

api-platform / core / 23716974171

29 Mar 2026 07:17PM UTC coverage: 20.703% (-8.2%) from 28.949%
23716974171

push

github

vincentchalamon
fix(state): use exception message for user-facing violation when available

When a NotNormalizableValueException has canUseMessageForUser() = true,
use its message directly as the constraint violation message instead of
the generic Type constraint message. This fixes issues with Symfony 8.x
where expectedTypes can be null/empty, producing broken messages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

0 of 60 new or added lines in 2 files covered. (0.0%)

16290 existing lines in 502 files now uncovered.

13093 of 63243 relevant lines covered (20.7%)

48.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/Metadata/Resource/Factory/MainControllerResourceMetadataCollectionFactory.php


Source Not Available

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