File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 11.PHONY : check
22check : lint cs tests phpstan
33
4+ vendor : $(wildcard composer.lock) composer.json
5+ composer update
6+
7+ build-cs/vendor :
8+ composer install --working-dir build-cs
9+
410.PHONY : tests
5- tests :
11+ tests : vendor
612 php vendor/bin/phpunit
713
814.PHONY : lint
9- lint :
15+ lint : vendor
1016 php vendor/bin/parallel-lint --colors --show-deprecated \
1117 src tests
1218
1319.PHONY : cs
14- cs :
15- composer install --working-dir build-cs && php build-cs/vendor/bin/phpcs
20+ cs : build-cs/vendor
21+ php build-cs/vendor/bin/phpcs
1622
1723.PHONY : cs-fix
18- cs-fix :
19- vendor/bin/phpcbf
24+ cs-fix : build-cs/vendor
25+ build-cs/ vendor/bin/phpcbf
2026
2127.PHONY : phpstan
22- phpstan :
28+ phpstan : vendor
2329 php vendor/bin/phpstan analyse -l 9 -c phpstan.neon src tests
You can’t perform that action at this time.
0 commit comments