-
Notifications
You must be signed in to change notification settings - Fork 32
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
Tests: Add PHP 8.4 and move PCOV to PHP 8.2 #2872
Tests: Add PHP 8.4 and move PCOV to PHP 8.2 #2872
Conversation
…o refactor/internal-api-stats # Conflicts: # tests/Integration/RestAPI/ContentHelper/ContentHelperFeatureTestTrait.php
…elper REST API Refactor: Base classes and Content Helper namespace implementation
…f github.com:Parsely/wp-parsely into update/add-php-8.4-to-tests-and-move-pcov-to-php-8.2
I can confirm that tests now also run on PHP 8.4 in experimental mode, and that PHP 8.2 runs with code coverage. It's also worth noting that testing on PHP 8.4 surfaces some deprecation messages, and it seems that many integration tests are failing as well. Since many of the failures are about internal endpoints, I suggest merging our API refactoring work before tending to these. |
I tried to base this upon our refactoring branch, but chaos ensued, so I went back to develop for now. |
# Conflicts: # src/content-helper/dashboard-widget/class-dashboard-widget.php # src/rest-api/content-helper/class-endpoint-excerpt-generator.php
…tests-and-move-pcov-to-php-8.2
Closing in favor of #2878 because I broke this PR with changing bases. |
Description
This PR adds PHP 8.4 to our unit and integration test matrices in experimental mode, as PHP 8.4 is on its merry way to release towards the end of November.
It also moves PCOV from using PHP 8.1 to 8.2, which is currently the most popular PHP version in the 8.x branch according to WordPress Stats.
Motivation and context
How has this been tested?