This repository was archived by the owner on Mar 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,12 @@ jobs:
2727 tools : composer, composer-prefetcher, cs2pr
2828
2929 - name : " Install Narrowspark coding standard"
30- run : composer global require narrowspark/coding-standard:3.4.0 --no-interaction --no-progress --profile --no-suggest --optimize-autoloader
30+ run : |
31+ composer global require narrowspark/coding-standard:3.4.0 --no-interaction --no-progress --profile --no-suggest --optimize-autoloader
32+ # can be removed if bug with ClassAttributesSeparationFixer is fixed in newer version
33+ composer global require friendsofphp/php-cs-fixer:2.16.x-dev
3134
3235 - name : " lint php code"
3336 run : |
3437 cd $GITHUB_WORKSPACE
35- /home/runner/.composer/vendor/bin/php-cs-fixer fix --config=$GITHUB_WORKSPACE/.php_cs -v --dry-run --diff
36-
37- # /home/runner/.composer/vendor/bin/php-cs-fixer fix --config=$GITHUB_WORKSPACE/.php_cs -v --dry-run --format=checkstyle | cs2pr
38+ /home/runner/.composer/vendor/bin/php-cs-fixer fix --config=$GITHUB_WORKSPACE/.php_cs -v --dry-run --format=checkstyle | cs2pr
You can’t perform that action at this time.
0 commit comments