Open pfefferle opened 4 years ago
Doing this step by step.
Step one:
Next:
Potentially related: https://twitter.com/ottokekalainen/status/1322275628662595585?s=21
First 👏 and thanks to Seravo for adding PHP8 testing. ❤️
I'm am trying to figure out why the tests fail for them but not Core on Travis, and wondering if something in here is causing the failure.
If it helps debugging, here is the same commit tested with both PHP 7.4 (pass) and PHP 8.0 (failure):
https://make.wordpress.org/hosting/test-results/r49470/seravobot-r49470/
The PHP 8.0 was the latter run, so it's results remain on the result page.
Since the result page does not show any detailed log, I have attached them manually. php80.txt php74.txt
There might be more problems, but I think the main issue is that the test runner is using PHPUnit 5.6.x: https://github.com/WordPress/phpunit-test-runner/issues/121#issuecomment-717169367
If somebody makes a PR or test branch on this topic, I am happy to run the test runner based on code from an alternative branch to verify if the proposed changes fix the issue.
https://wordpress.slack.com/archives/C3D6T7F8Q/p1593596189094100