File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 tools : composer
2121 env :
2222 fail-fast : true
23+ - name : Lint
24+ run : make lint-ci
25+ env :
26+ fail-fast : true
2327 - name : composer
2428 run : composer install
2529 env :
2832 run : composer validate
2933 env :
3034 fail-fast : true
31- - name : Lint
32- run : make lint -ci
35+ - name : phpcs
36+ run : make phpcs -ci
3337 env :
3438 fail-fast : true
Original file line number Diff line number Diff line change @@ -24,10 +24,15 @@ docker-run:
2424docker : docker-build docker-run
2525
2626lint :
27- ./vendor/bin/phpcs --tab-width=4 --report=summary www scripts
27+ find -L www scripts -iregex ' .*\.php$$ ' -print0 | xargs -0 -n 1 -P 4 php -l
2828
29- lint-verbose :
30- ./vendor/bin/phpcs --tab-width=4 www scripts
29+ lint-ci : lint
3130
32- lint-ci :
33- ./vendor/bin/phpcs --tab-width=4 www scripts --report=json --report-file=phpcs-report.json
31+ phpcs :
32+ ./vendor/bin/phpcs --standard=phpcs.xml --tab-width=4 --report=summary www scripts
33+
34+ phpcs-verbose :
35+ ./vendor/bin/phpcs --standard=phpcs.xml --tab-width=4 www scripts
36+
37+ phpcs-ci :
38+ ./vendor/bin/phpcs --standard=phpcs.xml --tab-width=4 www scripts --report=json --report-file=phpcs-report.json
You can’t perform that action at this time.
0 commit comments