2023-06-08 12:44:59 +00:00
|
|
|
analyze: analyze-phpmd analyze-phpstan analyze-psalm analyze-phpcs
|
|
|
|
|
|
|
|
analyze-phpmd:
|
2023-05-31 09:00:20 +00:00
|
|
|
-./vendor/bin/phpmd src text cleancode,codesize,controversial,design,naming,unusedcode
|
2023-06-08 12:44:59 +00:00
|
|
|
analyze-phpstan:
|
|
|
|
-./vendor/bin/phpstan analyze --level=7 --error-format=raw src/ backup
|
|
|
|
analyze-psalm:
|
2023-05-31 09:00:20 +00:00
|
|
|
-./vendor/bin/psalm
|
2023-06-08 12:44:59 +00:00
|
|
|
analyze-phpcs:
|
|
|
|
-./vendor/bin/phpcs src backup --report=emacs --standard=PSR12
|
|
|
|
|
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
|
|
|
|
|