-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Form] Deprecate VersionAwareTest trait #57839
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
Conversation
Question: is |
It's not intended to be used by other projects. |
3884191
to
bc3ee44
Compare
Perfect. I've removed the trait usage from there then. This will make it a lot easier to remove the trait in 8.0. |
Thank you @derrabus. |
…outTestCase` (alexandre-daubois) This PR was merged into the 6.4 branch. Discussion ---------- [TwigBridge] Remove `VersionAwareTest` from `AbstractLayoutTestCase` | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT I propose to backport what was done in #57839 (cc `@derrabus`) because the test suite currently fails on 6.4 high deps: https://github.com/symfony/symfony/actions/runs/11082470673/job/30795519671#step:8:9163 Commits ------- 4219d16 [TwigBridge] Remove `VersionAwareTest` from `AbstractLayoutTestCase`
With this trait, downstream projects can check if they have at least Symfony Form 4.4 installed. That check should really be a no-op these days.
I haven't removed the usages of this trait since downstream code might still rely on its presence. But I could eliminate all calls to the method that the trait provides.