16 lines
461 B
Makefile
16 lines
461 B
Makefile
analyze-all:
|
|
@echo PHPMessDetector
|
|
-./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode
|
|
@echo PHPStan
|
|
-./vendor/bin/phpstan analyze --level=7 src/ backup
|
|
@echo Psalm
|
|
-./vendor/bin/psalm
|
|
@echo PHP_CodeSniffer
|
|
-./vendor/bin/phpcs src
|
|
install:
|
|
php composer.phar install --no-dev
|
|
install-dev:
|
|
php composer.phar install
|
|
test:
|
|
./vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage
|
|
|