File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313
1414 steps :
1515 - name : Checkout
16- uses : actions/checkout@v1
16+ uses : actions/checkout@v6
1717
1818 - name : Setup PHP
1919 uses : shivammathur/setup-php@v2
3636 - name : Install dependencies
3737 run : composer install --prefer-dist --no-progress --no-suggest
3838
39- - name : Run PHP CodeSniffer
40- run : composer sniffer :check
39+ - name : Run PHP Coding Standards Fixer
40+ run : composer cs :check
4141
4242 - name : Run PHPStan
4343 run : composer stan
Original file line number Diff line number Diff line change 1515 },
1616 "require-dev" : {
1717 "friendsofphp/php-cs-fixer" : " ^3" ,
18- "phpstan/phpstan" : " ^1 || ^2" ,
19- "phpunit/phpunit" : " ^11" ,
20- "squizlabs/php_codesniffer" : " ^3"
18+ "phpstan/phpstan" : " ^2" ,
19+ "phpunit/phpunit" : " ^11"
2120 },
2221 "autoload" : {
2322 "psr-4" : {
3332 "sort-packages" : true
3433 },
3534 "scripts" : {
36- "cs:check" : [
37- " php-cs-fixer fix --dry-run --format=txt --verbose --diff --config=.cs.php --ansi --allow-unsupported-php-version=yes"
38- ],
39- "cs:fix" : [
40- " php-cs-fixer fix --config=.cs.php --ansi --verbose --allow-unsupported-php-version=yes"
41- ],
42- "sniffer:check" : " phpcs --standard=phpcs.xml" ,
43- "sniffer:fix" : " phpcbf --standard=phpcs.xml" ,
35+ "cs:check" : " php-cs-fixer fix --dry-run --format=txt --verbose --diff --config=.cs.php --ansi --allow-unsupported-php-version=yes" ,
36+ "cs:fix" : " php-cs-fixer fix --config=.cs.php --ansi --verbose --allow-unsupported-php-version=yes" ,
4437 "stan" : " phpstan analyse -c phpstan.neon --no-progress --ansi" ,
4538 "test" : " phpunit --configuration phpunit.xml --do-not-cache-result --colors=always --display-warnings --display-deprecations --no-coverage" ,
4639 "test:all" : [
4740 " @cs:check" ,
48- " @sniffer:check" ,
4941 " @stan" ,
5042 " @test"
5143 ],
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments