forked from contributte/jsonrpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (16 loc) 路 760 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.PHONY: install qa cs csf phpstan tests coverage-clover coverage-html
install:
composer update
qa: phpstan cs
cs:
vendor/bin/phpcs --standard=vendor/gamee/php-code-checker-rules/ruleset.xml --extensions=php,phpt --tab-width=4 --ignore=temp -sp src tests
csf:
vendor/bin/phpcbf --standard=vendor/gamee/php-code-checker-rules/ruleset.xml --extensions=php,phpt --tab-width=4 --ignore=temp -sp src tests
phpstan:
vendor/bin/phpstan analyse -l 7 -c phpstan.neon src
tests:
vendor/bin/tester -s -p php --colors 1 -C tests
coverage-clover:
vendor/bin/tester -s -p phpdbg --colors 1 -C --coverage ./coverage.xml --coverage-src ./src tests
coverage-html:
vendor/bin/tester -s -p phpdbg --colors 1 -C --coverage ./coverage.html --coverage-src ./src tests