Skip to content

Relax squizlabs/php_codesniffer requirements to support PHP 8.x compatability checks #878

@kasparsd

Description

@kasparsd

What problem would the enhancement address for VIP?

VIP clients are unable to run PHP compatibility checks for PHP 8.2+ via phpcompatibility/phpcompatibility-wp.

Describe the solution you'd like

Expand the range of supported versions of squizlabs/php_codesniffer to allow v4 which is a requirement for the latest develop version (upcoming v10) of phpcompatibility/php-compatibility (which is required for latest PHP version checks), see PHPCompatibility/PHPCompatibility#2009

What code should be reported as a violation?

What code should not be reported as a violation?

Additional context

Consider allowing "squizlabs/php_codesniffer": "^3 || ^4" if that is indeed supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions