forked from markrogoyski/math-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (16 loc) · 572 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 : lint tests style phpstan phpmd report coverage
all : lint tests style phpstan phpmd report
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 --level max src/
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/