Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[VarExporter] Suppress deprecations for legacy fixtures#42782
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
[VarExporter] Suppress deprecations for legacy fixtures#42782
Uh oh!
There was an error while loading.Please reload this page.
Conversation
25f6233 to01dcc62Comparestof commentedAug 30, 2021
I suggest adding a comment in the code explaining what is done there (that's not self-explanatory right now), which will also allow figuring out that this can be removed once the min PHP requirement allows us to stop caring about that special case. |
derrabus commentedAug 30, 2021
Will do.
That'll be PHP 9 then. 😱 |
Signed-off-by: Alexander M. Turek <me@derrabus.de>
01dcc62 to2db2c00Comparederrabus commentedAug 30, 2021
I've added a longer comment to the custom error handling that should explain what I'm doing. |
Two test fixtures currently trigger a deprecation on PHP 8.1 because they implement
Serializablewithout implementing__serialize()and__unserialize(). However, I believe that we want to test the behavior of the component with this kind of implementation. This why I decided to suppress the deprecation instead of upgrading the fixtures.