Switch to PHPCSStandards/PHP_CodeSniffer #315
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(which contains the Composer, 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.
Includes updating the dev required version of the Composer plugin, which should make sure that this repo already switches over to using the PHPCSStandards version of PHPCS.Ref:
Closes #314
[OPTIONAL] Composer: raise the minimum supported PHPCS version to 3.8.0... 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.Note: it should work fine without this change, but may lead to support requests.Composer: update various version constraints... after the tooling has also updated to the PHPCSStandards version of PHPCS.Refs:* https://github.com/PHPCSStandards/PHPCSDevCS/releases