Skip to content

Commit b418924

Browse files
committed
Remove PHPCS and add rules to PHP-CS-Fixer configuration
1 parent 362cf34 commit b418924

File tree

4 files changed

+1
-24
lines changed

4 files changed

+1
-24
lines changed

.composer.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,17 @@
1313
"provide": {
1414
},
1515
"scripts": {
16-
"lint:phpcs": "../../bin/phpcs --colors",
17-
"lint:phpcs:fix": "../../bin/phpcbf --colors",
1816
"lint:php-cs-fixer": "../../bin/php-cs-fixer check",
1917
"lint:php-cs-fixer:fix": "../../bin/php-cs-fixer fix",
2018
"lint:phpstan": "../../bin/phpstan analyse",
2119
"lint:phpstan-generate-baseline": "../../bin/phpstan analyse --generate-baseline",
2220
"lint:distributionintegrity": "[ -d 'Neos.ContentRepository' ] && { echo 'Package Neos.ContentRepository should not exist.' 1>&2; exit 1; } || exit 0;",
2321
"lint": [
24-
"@lint:phpcs",
2522
"@lint:php-cs-fixer",
2623
"@lint:phpstan",
2724
"@lint:distributionintegrity"
2825
],
2926
"lint:fix": [
30-
"@lint:phpcs:fix",
3127
"@lint:php-cs-fixer:fix"
3228
],
3329
"test:unit": [

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
return (new PhpCsFixer\Config())
1414
->setRules([
15+
'@PSR12' => true,
1516
'no_unused_imports' => true,
1617
'ordered_imports' => [
1718
'sort_algorithm' => 'alpha',

composer.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,17 @@
9898
"neos/contentrepositoryregistry-storageclient": "self.version"
9999
},
100100
"scripts": {
101-
"lint:phpcs": "../../bin/phpcs --colors",
102-
"lint:phpcs:fix": "../../bin/phpcbf --colors",
103101
"lint:php-cs-fixer": "../../bin/php-cs-fixer check",
104102
"lint:php-cs-fixer:fix": "../../bin/php-cs-fixer fix",
105103
"lint:phpstan": "../../bin/phpstan analyse",
106104
"lint:phpstan-generate-baseline": "../../bin/phpstan analyse --generate-baseline",
107105
"lint:distributionintegrity": "[ -d 'Neos.ContentRepository' ] && { echo 'Package Neos.ContentRepository should not exist.' 1>&2; exit 1; } || exit 0;",
108106
"lint": [
109-
"@lint:phpcs",
110107
"@lint:php-cs-fixer",
111108
"@lint:phpstan",
112109
"@lint:distributionintegrity"
113110
],
114111
"lint:fix": [
115-
"@lint:phpcs:fix",
116112
"@lint:php-cs-fixer:fix"
117113
],
118114
"test:unit": [
@@ -317,7 +313,6 @@
317313
"require-dev": {
318314
"roave/security-advisories": "dev-latest",
319315
"phpstan/phpstan": "^1.8",
320-
"squizlabs/php_codesniffer": "^3.6",
321316
"friendsofphp/php-cs-fixer": "^3.5",
322317
"phpunit/phpunit": "^9.0",
323318
"neos/behat": "*",

phpcs.xml.dist

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)