2023-05-31 09:00:20 +00:00
|
|
|
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
|
2023-06-01 09:16:19 +00:00
|
|
|
@echo PHP_CodeSniffer
|
|
|
|
-./vendor/bin/phpcs src
|
2023-05-31 09:00:20 +00:00
|
|
|
install:
|
|
|
|
php composer.phar install --no-dev
|
|
|
|
install-dev:
|
2023-05-31 14:34:35 +00:00
|
|
|
php composer.phar install
|
|
|
|
test:
|
|
|
|
./vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage
|
|
|
|
|