#838 update composer dev dependencies#863
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @pratik.nawkar@xecurify.com. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
| "dealerdirect/phpcodesniffer-composer-installer": "^1.2", | ||
| "phpcompatibility/phpcompatibility-wp": "3.0.0-alpha2", | ||
| "phpunit/phpunit": "^8.5|^9.6", | ||
| "phpunit/phpunit": "^8.5", |
There was a problem hiding this comment.
Could you check if you are able to generate test coverage report with this configuration on PHP 8+? I faced some difficulties in my recent PR #856
#838
Implemented:
dealerdirect/phpcodesniffer-composer-installer ^1.2
PHPUnit refresh constrained to ^8.5.x
yoast/phpunit-polyfills ^4.0
Updated composer.lock
Set config.platform.php to 7.2.24 to ensure compatibility with wp-env PHPUnit runs on PHP 7.2.
Deferred Updates
The following upgrades are deferred:
spatie/phpunit-watcher ^1.24
szepeviktor/phpstan-wordpress ^2
phpstan/phpstan ^2
These require PHP 8.1+ / Symfony 6, which introduces PHP 8-only syntax into vendor/ and breaks the current single-vendor, multi-PHP CI matrix.