-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
30 lines (20 loc) · 666 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
25
26
27
28
29
30
.PHONY : lint tests style phpstan psalm phpmd report coverage demo
all : lint tests style phpstan psalm demo
tests :
vendor/bin/phpunit tests/ --configuration=tests/phpunit.xml
lint :
vendor/bin/parallel-lint src tests
style :
vendor/bin/phpcs --standard=tests/coding_standard.xml --ignore=vendor -s .
phpstan :
vendor/bin/phpstan analyze -c tests/phpstan.neon
psalm :
vendor/bin/psalm --config=tests/psalm.xml
phpmd :
vendor/bin/phpmd src/ ansi cleancode,codesize,design,unusedcode,naming
coverage :
vendor/bin/phpunit tests/ --configuration=tests/phpunit.xml --coverage-text=php://stdout
report :
vendor/bin/phploc src/
demo :
php docs/demo.php