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

api-platform / core / 23717020767

29 Mar 2026 07:19PM UTC coverage: 20.675% (-8.2%) from 28.9%
23717020767

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%)

16305 existing lines in 502 files now uncovered.

13108 of 63400 relevant lines covered (20.68%)

47.98 hits per line

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

76.47
/src/Metadata/Resource/Factory/CachedResourceMetadataCollectionFactory.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