-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] Remove BC layer from ResizeFormListener
#60952
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 8.0
Are you sure you want to change the base?
[Form] Remove BC layer from ResizeFormListener
#60952
Conversation
OskarStark
commented
Jun 29, 2025
Q | A |
---|---|
Branch? | 8.0 |
Bug fix? | no |
New feature? | no |
Deprecations? | no |
Issues | -- |
License | MIT |
54b564b
to
237d06d
Compare
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 testPreSetDataResizesForm()
test also needs to be removed (I wonder why the tests don't fail)
Done |
237d06d
to
45281ac
Compare
The "Verify Packages" failure also looks related. :) |
src/Symfony/Component/Form/Extension/Core/EventListener/ResizeFormListener.php
Show resolved
Hide resolved
45281ac
to
f8ddd36
Compare
Indeed, done, thanks |
- Remove deprecated preSetData() method - Remove BC properties overridden and usePreSetData - Update postSetData() to only accept PostSetDataEvent parameter - Fix tests to use PostSetDataEvent instead of FormEvent - Remove tests for deprecated preSetData method (testPreSetDataResizesForm, testPreSetDataRequiresArrayOrTraversable, testPreSetDataDealsWithNullData) - Remove symfony/deprecation-contracts dependency as it's no longer needed - Add CHANGELOG and UPGRADE-8.0.md entries
f8ddd36
to
4afda18
Compare
Rebased |