File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1- .PHONY : install qa cs csf phpstan tests coverage
2-
1+ .PHONY : install
32install :
43 composer update
54
5+ .PHONY : qa
66qa : phpstan cs
77
8+ .PHONY : cs
89cs :
910ifdef GITHUB_ACTION
10- vendor/bin/phpcs --standard=ruleset.xml --encoding=utf-8 --extensions=php,phpt --tab-width=4 -sp src tests --report=checkstyle | cs2pr
11+ vendor/bin/phpcs --standard=ruleset.xml --encoding=utf-8 --extensions=php,phpt --colors -nsp -q --report=checkstyle src tests | cs2pr
1112else
12- vendor/bin/phpcs --standard=ruleset.xml --encoding=utf-8 --extensions=php,phpt --tab-width=4 -sp src tests
13+ vendor/bin/phpcs --standard=ruleset.xml --encoding=utf-8 --extensions=php,phpt --colors -nsp src tests
1314endif
1415
16+ .PHONY : csf
1517csf :
16- vendor/bin/phpcbf --standard=ruleset.xml --encoding=utf-8 --extensions=php,phpt --tab-width=4 -sp src tests
18+ vendor/bin/phpcbf --standard=ruleset.xml --encoding=utf-8 --extensions=php,phpt --colors -nsp src tests
1719
20+ .PHONY : phpstan
1821phpstan :
1922 vendor/bin/phpstan analyse -c phpstan.neon
2023
24+ .PHONY : tests
2125tests :
2226 vendor/bin/tester -s -p php --colors 1 -C tests/Cases
2327
28+ .PHONY : coverage
2429coverage :
2530ifdef GITHUB_ACTION
2631 vendor/bin/tester -s -p phpdbg --colors 1 -C --coverage coverage.xml --coverage-src src tests/Cases
You can’t perform that action at this time.
0 commit comments