-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to PHPCSStandards/PHP_CodeSniffer & raise minimum supported version #805
Conversation
6907519
to
62b9e9c
Compare
The Squizlabs repo has been abandoned. The project continues in a fork in the PHPCSStandards organisation. Ref: * squizlabs/PHP_CodeSniffer 3932
... for improved PHP 8.2 support.
62b9e9c
to
bf5c613
Compare
Update: The Composer package name will not change, so while this PR should still be merged at our convenience (after the 3.8.0 release, expected this Friday), we will not need to do a release to unblock end-users. |
PHPCS 3.8.0 has been released. (as well as PHPCSUtils 1.0.9 + PHPCSExtra 1.2.1) Marking this PR as ready for review and retriggering the builds. |
Oh, and I will also remove the changelog commit from this PR as, now the Composer package name doesn't change, tagging a new release is not that urgent. |
... after the tooling has also updated to the PHPCSStandards version of PHPCS. Refs: * https://github.com/PHPCSStandards/PHPCSUtils/releases * https://github.com/PHPCSStandards/PHPCSExtra/releases
bf5c613
to
873e28e
Compare
Just checking - any reason why this PR hasn't been merged yet ? |
Nope, no reason. |
Is it time to merge it maybe ? Asking again as there is another PR waiting on this one (which makes the test suite compatible with PHPUnit 8 + 9). |
(which contains the Composerand the other dependencies have released, this can/should be mergedreplace
directive)and released ASAP.Switch to PHPCSStandards/PHP_CodeSniffer
The Squizlabs repo has been abandoned. The project continues in a fork in the PHPCSStandards organisation.
Ref:
Composer: raise the minimum supported PHPCS version to 3.8.0
... for improved PHP 8.2 support.
... to prevent end-users from running into trouble with the name change.The files in the Composervendor/bin
will only be replaced when thereplace...
directive is found and that is only available in the 3.8.0 tag.When the files in the Composervendor/bin
are not replaced, they will continue to point to thevendor/squizlabs/php_codesniffer
directory which will no longer exist, leading to fatal "File not found" errors for end-users trying to run PHPCS/PHPCBF.Includes updating references to the PHPCS version whenever relevant throughout the codebase.
Composer: update various version constraints
... after the tooling has also updated to the PHPCSStandards version of PHPCS.
Refs:
Changelog for the release of version 3.0.1Closes #804