Skip to content

Commit efb19e8

Browse files
committed
replace squizlabs/php_codesniffer with phpcsstandards/php_codesniffer
1 parent 34c47b1 commit efb19e8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

build/PHPStan/phpstan.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ parameters:
1212
- %currentWorkingDirectory%/SlevomatCodingStandard
1313

1414
bootstrapFiles:
15-
- %currentWorkingDirectory%/vendor/squizlabs/php_codesniffer/autoload.php
16-
- %currentWorkingDirectory%/vendor/squizlabs/php_codesniffer/src/Util/Tokens.php
15+
- %currentWorkingDirectory%/vendor/phpcsstandards/php_codesniffer/autoload.php
16+
- %currentWorkingDirectory%/vendor/phpcsstandards/php_codesniffer/src/Util/Tokens.php
1717
excludePaths:
1818
- %currentWorkingDirectory%/tests/*/data/*
1919
ignoreErrors:

build/phpcs.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Slevomat Coding Standard" xsi:noNamespaceSchemaLocation="../vendor/squizlabs/php_codesniffer/phpcs.xsd">
2+
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Slevomat Coding Standard" xsi:noNamespaceSchemaLocation="../vendor/phpcsstandards/php_codesniffer/phpcs.xsd">
33
<config name="php_version" value="70100"/>
44
<arg name="extensions" value="php"/>
55
<arg name="tab-width" value="4"/>
@@ -16,7 +16,7 @@
1616
</rule>
1717

1818
<rule ref="Generic.Arrays.ArrayIndent">
19-
<exclude name="Generic.Arrays.ArrayIndent.CloseBraceNotNewLine"/><!-- MultiLine items causes evaluation as multiLine array https://github.com/squizlabs/PHP_CodeSniffer/issues/1791 -->
19+
<exclude name="Generic.Arrays.ArrayIndent.CloseBraceNotNewLine"/><!-- MultiLine items causes evaluation as multiLine array https://github.com/phpcsstandards/PHP_CodeSniffer/issues/1791 -->
2020
</rule>
2121
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
2222
<rule ref="Generic.Classes.DuplicateClassName"/>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": "^7.2 || ^8.0",
2020
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0",
2121
"phpstan/phpdoc-parser": "^1.23.1",
22-
"squizlabs/php_codesniffer": "^3.7.1"
22+
"phpcsstandards/php_codesniffer": "^3.7.1"
2323
},
2424
"require-dev": {
2525
"phing/phing": "2.17.4",

tests/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
error_reporting(E_ALL);
44

55
require __DIR__ . '/../vendor/autoload.php';
6-
require __DIR__ . '/../vendor/squizlabs/php_codesniffer/autoload.php';
6+
require __DIR__ . '/../vendor/phpcsstandards/php_codesniffer/autoload.php';

0 commit comments

Comments
 (0)