File tree Expand file tree Collapse file tree 3 files changed +17
-20
lines changed
Expand file tree Collapse file tree 3 files changed +17
-20
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ jobs:
256256 run : " ${{ env.composer-install }}"
257257
258258 - name : " Tests"
259- run : " make coverage"
259+ run : " make coverage-clover "
260260
261261 - name : " Coveralls.io"
262262 env :
Original file line number Diff line number Diff line change 1- .PHONY : qa lint cs csf phpstan tests coverage
1+ .PHONY : install qa cs csf phpstan tests coverage-clover coverage-html
22
3- all :
4- @ $( MAKE ) -pRrq -f $( lastword $( MAKEFILE_LIST ) ) : 2> /dev/null | awk -v RS= -F: ' /^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}} ' | sort | egrep -v -e ' ^[^[:alnum:]] ' -e ' ^$@$$ ' | xargs
3+ install :
4+ composer update
55
6- vendor : composer.json composer.lock
7- composer install
6+ qa : phpstan cs
87
9- qa : lint phpstan cs
10-
11- lint : vendor
12- vendor/bin/linter src tests
13-
14- cs : vendor
8+ cs :
159 vendor/bin/codesniffer src tests
1610
17- csf : vendor
11+ csf :
1812 vendor/bin/codefixer src tests
1913
20- phpstan : vendor
14+ phpstan :
2115 vendor/bin/phpstan analyse -l max -c phpstan.neon src
2216
23- tests : vendor
17+ tests :
2418 vendor/bin/tester -s -p php --colors 1 -C tests/cases
2519
26- coverage : vendor
20+ coverage-clover :
2721 vendor/bin/tester -s -p phpdbg --colors 1 -C --coverage ./coverage.xml --coverage-src ./src tests/cases
22+
23+ coverage-html :
24+ vendor/bin/tester -s -p phpdbg --colors 1 -C --coverage ./coverage.html --coverage-src ./src tests/cases
Original file line number Diff line number Diff line change 3030 "nette/tester" : " ^2.4" ,
3131 "ninjify/nunjuck" : " ^0.3.0" ,
3232 "ninjify/qa" : " ^0.12" ,
33- "phpstan/phpstan" : " ^0.12 " ,
34- "phpstan/phpstan-deprecation-rules" : " ^0.12 " ,
35- "phpstan/phpstan-nette" : " ^0.12 " ,
36- "phpstan/phpstan-strict-rules" : " ^0.12 " ,
33+ "phpstan/phpstan" : " ^1.0 " ,
34+ "phpstan/phpstan-deprecation-rules" : " ^1.0 " ,
35+ "phpstan/phpstan-nette" : " ^1.0 " ,
36+ "phpstan/phpstan-strict-rules" : " ^1.0 " ,
3737 "symfony/translation" : " ^5.0"
3838 },
3939 "autoload" : {
You can’t perform that action at this time.
0 commit comments