Skip to content

CodeSniffer 4.0 compatibility #355

@LukeWCS

Description

@LukeWCS

Hi Payton

VA 2.12 doesn't seem to be compatible with CS 4 yet:

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires sirbrillig/phpcs-variable-analysis ^2.12 -> satisfiable by sirbrillig/phpcs-variable-analysis[v2.12.0].
    - sirbrillig/phpcs-variable-analysis v2.12.0 requires squizlabs/php_codesniffer ^3.5.6 -> found squizlabs/php_codesniffer[3.5.6, ..., 3.13.4] but it conflicts with your root composer.json require (^4.0).

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Can you estimate when VA will be compatible with CS 4? I can't switch to CS 4 until all CS rulesets are compatible, otherwise my test suite for phpBB extensions would no longer be complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions