-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix PHP 8.4 deprecations #15280
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
Fix PHP 8.4 deprecations #15280
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 7.x #15280 +/- ##
=========================================
Coverage 66.40% 66.41%
- Complexity 35205 35210 +5
=========================================
Files 2318 2319 +1
Lines 141895 141913 +18
=========================================
+ Hits 94231 94257 +26
+ Misses 47664 47656 -8 🚀 New features to boost your workflow:
|
a1a2d41
to
ea46b6f
Compare
This |
247c1ea
to
54e6685
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.
Amazing! The list of deprecations bellow the PHP 8.4 test results is way, way smaller. Thank you! 👍
Description
I initially tried upgrading all packages at once, but that resulted in too many errors and failing tests. I switched to upgrading packages individually, resolving related deprecations and issues step by step, by identifying which package caused a deprecation and upgrading it accordingly.
The
predis/predis
package still needs to be upgraded, but that requires refactoring due to breaking changes. It will be handled in a separate PR. For now, deprecations related to Predis remain.twig/twig v4, which is not yet released, resolves the deprecations related to non-static data providers in integration tests. Since addressing them now would require workarounds or overriding internal behavior, this PR does not fix the deprecations.
📋 Steps to test this PR: