File tree 1 file changed +10
-5
lines changed
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
3
2
install :
4
3
composer update
5
4
5
+ .PHONY : qa
6
6
qa : phpstan cs
7
7
8
+ .PHONY : cs
8
9
cs :
9
10
ifdef GITHUB_ACTION
10
- vendor/bin/codesniffer -q --report=checkstyle src tests | cs2pr
11
+ vendor/bin/phpcs --standard=ruleset.xml --encoding=utf-8 --extensions="php,phpt" --colors -nsp -q --report=checkstyle src tests | cs2pr
11
12
else
12
- vendor/bin/codesniffer src tests
13
+ vendor/bin/phpcs --standard=ruleset.xml --encoding=utf-8 --extensions="php,phpt" --colors -nsp src tests
13
14
endif
14
15
16
+ .PHONY : csf
15
17
csf :
16
- vendor/bin/codefixer src tests
18
+ vendor/bin/phpcbf --standard=ruleset.xml --encoding=utf-8 --extensions= " php,phpt " --colors -nsp src tests
17
19
20
+ .PHONY : phpstan
18
21
phpstan :
19
22
vendor/bin/phpstan analyse -c phpstan.neon
20
23
24
+ .PHONY : tests
21
25
tests :
22
26
vendor/bin/codecept build
23
27
vendor/bin/codecept run --debug
24
28
29
+ .PHONY : coverage
25
30
coverage :
26
31
ifdef GITHUB_ACTION
27
32
vendor/bin/codecept build
You can’t perform that action at this time.
0 commit comments