Skip to content

Commit cc52c8e

Browse files
committed
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. Includes updating the suggested version of the Composer plugin to the version which made the same change. Ref: * squizlabs/PHP_CodeSniffer 3932
1 parent dbda80e commit cc52c8e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
# Validate the xml file.
4848
# @link http://xmlsoft.org/xmllint.html
4949
- name: Validate against schema
50-
run: xmllint --noout --schema vendor/squizlabs/php_codesniffer/phpcs.xsd ./*/ruleset.xml
50+
run: xmllint --noout --schema vendor/phpcsstandards/php_codesniffer/phpcs.xsd ./*/ruleset.xml
5151

5252
# Check the code-style consistency of the xml file.
5353
- name: Check code style

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ Symfony Polyfill Library | Corresponding PHPCompatibility Ruleset | Includes
3737

3838
## Requirements
3939

40-
* [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer).
41-
* PHP 5.3+ for use with [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) 2.3.0+.
42-
* PHP 5.4+ for use with [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) 3.0.2+.
40+
* [PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer).
41+
* PHP 5.3+ for use with [PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) 2.3.0+.
42+
* PHP 5.4+ for use with [PHP_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) 3.0.2+.
4343

4444
Use the latest stable release of PHP_CodeSniffer for the best results.
4545
The minimum _recommended_ version of PHP_CodeSniffer is version 2.6.0.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"phpcompatibility/phpcompatibility-passwordcompat" : "^1.0"
2929
},
3030
"require-dev" : {
31-
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
31+
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.1",
3232
"symfony/polyfill-php54": "1.19",
3333
"symfony/polyfill-php55": "1.19",
3434
"symfony/polyfill-php56": "1.19",
@@ -40,7 +40,7 @@
4040
"symfony/polyfill-php80": "1.x-dev"
4141
},
4242
"suggest" : {
43-
"dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
43+
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.1 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
4444
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
4545
},
4646
"prefer-stable" : true

0 commit comments

Comments
 (0)