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] [3.0] Remove deprecated OptionsResolverInterface#12909
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
[Form] [3.0] Remove deprecated OptionsResolverInterface#12909
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Use OptionsResolver instead.
Before: | ||
```php | ||
protected function configureOptions(OptionsResolverInterface $resolver) |
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.
the method name is wrong
I suggest waiting a bit before merging this. Currently, this is the main BC break for the 2.7 to 3.0 upgrade (all other BC breaks are about removing deprecated layers, meaning that 2.7 projects can already avoid them all). It would be good to provide a forward-compatible upgrade path for this change. |
FYI,@peterrehm proposed to introduce a |
Not sure if is really useful to already open this PR.
I decided to do it after proposing thesymfony/symfony-docs#4565 PR which should
probably be reopened on the master branch of the Symfony docs repository.
Feel free to close the PR if it's not revelant for now!