DonAdmin.php
7.39 KB
-
Fix the remaining deprecations (Sonata 5, Doctrine ORM 4, Twig 4) · 01d1d424
- Sonata admins: model_class and controller in the sonata.admin tag instead of the constructor arguments (42 admins), generateBaseRouteName() and generateBaseRoutePattern() instead of the properties. Routes and admin definitions checked identical. - SortDirection instead of 'ASC'/'DESC' strings (query builders, OrderBy mapping attributes). - compact_html filter: Twig's spaceless filter (removed in Twig 4), same output, tested against the original. - DoctrineBundle: options removed since they are now the only behavior. - VichUploaderBundle removed (configured but unused). The remaining deprecations come from Sonata ORM admin and Lexik Translation.
Damien Moulard authored
×