Skip to content

Commit 16020af

Browse files
committed
Remove phpcbf from CI, bump phpcs minimum to 3.8
PHPCBF is a fixer, not a validator — it returns exit code 1 when it fixes code, causing CI failures. PHPCS already validates style. Bump phpcs minimum to 3.8 for readonly class support.
1 parent 70d2293 commit 16020af

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"phpmd/phpmd": "^2.14",
2626
"orchestra/testbench": "^11.0",
2727
"phpstan/phpstan": "^2.0",
28-
"squizlabs/php_codesniffer": "^3.7 || ^4.0",
28+
"squizlabs/php_codesniffer": "^3.8 || ^4.0",
2929
"povils/phpmnd": "^3.0",
3030
"infection/infection": "^0.32"
3131
},
@@ -55,8 +55,6 @@
5555
"@phpmd --strict src text cyclomatic.xml",
5656
"@phpstan --version",
5757
"@phpstan analyse",
58-
"@phpcbf --version",
59-
"@phpcbf src",
6058
"@phpcs --version",
6159
"@phpcs src --standard=PSR2",
6260
"@phpmnd --version",
@@ -73,7 +71,6 @@
7371
"phpmd": "vendor/bin/phpmd",
7472
"phpstan": "vendor/bin/phpstan",
7573
"phpcs": "vendor/bin/phpcs",
76-
"phpcbf": "vendor/bin/phpcbf",
7774
"phpmnd": "vendor/bin/phpmnd src",
7875
"infection": "vendor/bin/infection",
7976
"major": [

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)