Skip to content
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

Merged
merged 25 commits into from
Oct 12, 2022
Merged

Add PHP 8.0/8.1 to Timber 1.x matrix #2638

merged 25 commits into from
Oct 12, 2022

Conversation

nlemoine
Copy link
Member

@nlemoine nlemoine commented Sep 2, 2022

@nlemoine nlemoine marked this pull request as draft September 2, 2022 10:22
@gchtr
Copy link
Member

gchtr commented Sep 24, 2022

@nlemoine Thanks a lot for taking this on. Now, what do we need to move this out of draft status?

@nlemoine
Copy link
Member Author

nlemoine commented Oct 2, 2022

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 :

  • PHP 7.4 | WP latest (MS) : some problems with the WP-CLI cache clearing
  • PHP 7.4 | WP latest (with coverage) : I don't get why the clover file isn't readable, I didn't try much

Would you be interested to take this PR over?

@coveralls
Copy link

coveralls commented Oct 7, 2022

Coverage Status

Coverage increased (+0.8%) to 93.049% when pulling 50f4b10 on 1.x-add-php-8-matrix into 8d9bff2 on master.

@gchtr gchtr self-assigned this Oct 7, 2022
@gchtr gchtr marked this pull request as ready for review October 7, 2022 18:56
@gchtr gchtr requested a review from palmiak as a code owner October 7, 2022 18:56
@gchtr
Copy link
Member

gchtr commented Oct 7, 2022

@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 a7fdf59 (#2638).

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.

@nlemoine
Copy link
Member Author

nlemoine commented Oct 8, 2022

Good job @gchtr!

@gchtr gchtr added the 1.x label Oct 9, 2022
Upgrade Twig to support PHP 8.0/8.1
@jarednova
Copy link
Member

@gchtr @nlemoine I confirmed that the tests all pass with the merge of #2640. I was able to do a brief review of the code and new testing elements and am so humbled by how much cleaner and more sophisticated this leaves things. Lots of green checks!!!!

@jarednova jarednova merged commit 342007f into master Oct 12, 2022
@gchtr gchtr deleted the 1.x-add-php-8-matrix branch October 12, 2022 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants