You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #14103 Remove manual enabling of validation and validator annotations (l-vo)
This PR was merged into the 4.4 branch.
Discussion
----------
Remove manual enabling of validation and validator annotations
According to [framework validation configuration](https://github.com/symfony/symfony/blob/88bf7211a9b648dfba519455f7f25f34d693df06/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php#L801), since Symfony standard edition doesn't exist anymore for 4.4:
- Enabling validation is not needed anymore as long as `symfony/validator` is enabled
- Enabling validation annotations is not needed anymore as long as `doctrine/annotations` is enabled
Commits
-------
af5401a Remove manual enabling of validation and validator annotations
In the previous Symfony versions, enabling the validator in configuration was a requirement. It's not the case anymore, the validation is enabled by default as long as the Validator component is installed. In the same way, annotations are enabled by default if ``doctrine/annotations`` is installed.
0 commit comments