You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
To install
PHP_CodeSniffer version 3.8.0 (stable) by Squiz and PHPCSStandards
Are you willing to submit a PR?
I've had check the source code but it looks like the tool already pointing to the right tool (from PHPCSStandards), but the installed version is different. I can try to make a PR but does not know what code to patch.
Describe the bug
When installing the tool
phpcs
, it install old tool from squizlabs instead of new tool from PHPCSStandards.At the setup-php-action documentation page, it links
phpcs
to PHPCSStandards.Version
v1
orv2
.v2
v1
Runners
Operating systems
Ubuntu 22.04.3 LTS
PHP versions
PHP 8.2 & PHP 8.3 (other versions are also affected)
To Reproduce
Expected behavior
To install
PHP_CodeSniffer version 3.8.0 (stable) by Squiz and PHPCSStandards
Are you willing to submit a PR?
I've had check the source code but it looks like the tool already pointing to the right tool (from PHPCSStandards), but the installed version is different. I can try to make a PR but does not know what code to patch.
Workaround
Install using phive or composer, like:
The text was updated successfully, but these errors were encountered: