-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Add PHP 8.0/8.1 to Timber 1.x matrix #2638
Conversation
@nlemoine Thanks a lot for taking this on. Now, what do we need to move this out of draft status? |
Hey @gchtr I had some weird issues running tests (some "segmentation fault" with no valuable message). I solved them and finally almost fixed the tests. As you can see, some pass, some don't :
Would you be interested to take this PR over? |
In https://core.trac.wordpress.org/ticket/56514, a change was introduced for WordPress 6.1 that removes some magic methods from the WordPress test suite. This means that we have to use self::factory() instead of $this->factory, see https://core.trac.wordpress.org/ticket/56514#comment:14.
# Conflicts: # composer.json
@nlemoine I think this is ready now. I added some fixes for PHP 8.1 deprecation warnings, e.g. when cropping images without rounding the new width and height first. And I found the fix for the missing clover.xml file in There’s still a couple of warnings, but they are mostly related to WordPress itself, where we have no control. Just need a final approval so we can merge this in. |
Good job @gchtr! |
Upgrade Twig to support PHP 8.0/8.1
Related: