wearerequired / traduttore

🗼 A WordPress plugin to improve the I18N workflow for your own projects based on @GlotPress.
https://wearerequired.github.io/traduttore/
72 stars 12 forks source link

Support PHP 8+ development environments #237

Closed swissspidy closed 6 months ago

swissspidy commented 2 years ago

Issue Overview

Due to the "phpunit/phpunit": "^7.5.20", version constraint (and perhaps also others) it's not currently possible to install dependencies on PHP 8.1

Using https://github.com/Yoast/wp-test-utils might be an easy way to solve this.

To Reproduce

Try to install dependencies and run tests on PHP 8 or 8.1

Expected behavior

I should be able to install dependencies and run tests on PHP 8+

Screenshots If applicable, add screenshots to help explain your problem.

Versions

Additional context

ocean90 commented 6 months ago

I'm okay with bumping the PHP requirement to 8.1 based on https://www.php.net/supported-versions.php.