Is your enhancement related to a problem? Please describe.
To run PHP compatibility checks with phpcompatibility/php-compatibility with the latest versions of PHP 8.x, we're requiring it as 10.x-dev as 9.99.99 which allows phpcompatibility/phpcompatibility-wp to still work (since it is locked at v9).
However, the 10.x-dev branch of phpcompatibility/php-compatibility was recently updated to require v4 of squizlabs/php_codesniffer which now conflicting with v3 required by automattic/vipwpcs.
During CI matrix runs we're removing the composer.lock file which makes it attempt a fresh resolution of dependencies.
Proposed Solution
Wait until VIP fixes Automattic/VIP-Coding-Standards#878 and update composer.json to use the latest version that supports v4 of squizlabs/php_codesniffer.
Designs
No response
Describe alternatives you've considered
The alternative is to remove automattic/vipwpcs until it is updated to fix the CI builds in the mean time.
Please confirm that you have searched existing issues in this repository.
Yes
Is your enhancement related to a problem? Please describe.
To run PHP compatibility checks with
phpcompatibility/php-compatibilitywith the latest versions of PHP 8.x, we're requiring it as10.x-dev as 9.99.99which allowsphpcompatibility/phpcompatibility-wpto still work (since it is locked at v9).However, the
10.x-devbranch ofphpcompatibility/php-compatibilitywas recently updated to require v4 ofsquizlabs/php_codesnifferwhich now conflicting with v3 required byautomattic/vipwpcs.During CI matrix runs we're removing the
composer.lockfile which makes it attempt a fresh resolution of dependencies.Proposed Solution
Wait until VIP fixes Automattic/VIP-Coding-Standards#878 and update
composer.jsonto use the latest version that supports v4 ofsquizlabs/php_codesniffer.Designs
No response
Describe alternatives you've considered
The alternative is to remove
automattic/vipwpcsuntil it is updated to fix the CI builds in the mean time.Please confirm that you have searched existing issues in this repository.
Yes