mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 14:36:22 +00:00
499 B
499 B
id | title |
---|---|
d6b8e744-b6f2-41aa-a3c9-c4d366ca5eca | trigger~depcreation~ |
Syntax
// Before
@trigger_error(
'Not setting the "framework.router.utf8" configuration option is deprecated
since Symfony 5.1, it will default to "true" in Symfony 6.0.',
E_USER_DEPRECATED
);
// After
trigger_deprecation(
'symfony/framework-bundle', '5.1',
'Not setting the "framework.router.utf8" configuration option is deprecated,
it will default to "true" in version 6.0.'
);