Skip to content

Fix CI matrix builds when automattic/vipwpcs supports v4 of squizlabs/php_codesniffer #733

@kasparsd

Description

@kasparsd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions