Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Form] Change FormTypeValidatorExtension construct signature#49502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:7.4
Are you sure you want to change the base?
[Form] Change FormTypeValidatorExtension construct signature#49502
Uh oh!
There was an error while loading.Please reload this page.
Conversation
src/Symfony/Component/Form/Extension/Validator/Type/FormTypeValidatorExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
c74bc36
to43f04bb
Comparesrc/Symfony/Component/Form/Extension/Validator/Type/FormTypeValidatorExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Form/Extension/Validator/Type/FormTypeValidatorExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Form/Extension/Validator/Type/FormTypeValidatorExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Form/Extension/Validator/Type/FormTypeValidatorExtension.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
2c616dd
toa9e9b85
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Form/Extension/Validator/Type/FormTypeValidatorExtension.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Christian Flothmann <christian.flothmann@gmail.com>
/** | ||
* @group legacy | ||
*/ | ||
public function testLegacyWithBadFormRendererType() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This is not the legacy signature, but the new one though, as you don't pass the boolean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
You are right. But when type hint will be set in 7.0. Args checking will be drop and tests must also be dropped.
I can keep@group legacy
and only removelegacy
in function name ?
$legacyErrorMessages
is required inFormTypeValidatorExtension
construct but it is not used anymore in class. This PR deprecate passing this argument.