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 1
1
.PHONY : check
2
2
check : lint cs tests phpstan
3
3
4
+ vendor : $(wildcard composer.lock) composer.json
5
+ composer update
6
+
7
+ build-cs/vendor :
8
+ composer install --working-dir build-cs
9
+
4
10
.PHONY : tests
5
- tests :
11
+ tests : vendor
6
12
php vendor/bin/phpunit
7
13
8
14
.PHONY : lint
9
- lint :
15
+ lint : vendor
10
16
php vendor/bin/parallel-lint --colors --show-deprecated \
11
17
src tests
12
18
13
19
.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
16
22
17
23
.PHONY : cs-fix
18
- cs-fix :
19
- vendor/bin/phpcbf
24
+ cs-fix : build-cs/vendor
25
+ build-cs/ vendor/bin/phpcbf
20
26
21
27
.PHONY : phpstan
22
- phpstan :
28
+ phpstan : vendor
23
29
php vendor/bin/phpstan analyse -l 9 -c phpstan.neon src tests
You can’t perform that action at this time.
0 commit comments