backupscript/Makefile
Jens True 3b9cea1c70
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Static analysis of unittest code.
2023-07-10 09:20:36 +00:00

25 lines
818 B
Makefile

analyze: analyze-yaml analyze-phpmd analyze-phpstan analyze-psalm analyze-phpcs
analyze-yaml:
vendor/bin/yaml-lint *.yml
analyze-phpmd:
vendor/bin/phpmd src,tests text cleancode,codesize,controversial,design,naming,unusedcode
analyze-phpstan:
vendor/bin/phpstan analyze --level=8 --error-format=raw src/ backup tests
analyze-psalm:
vendor/bin/psalm --no-cache
analyze-phpcs:
vendor/bin/phpcs src backup tests --report=emacs --standard=PSR12
docs:
./phpDocumentor.phar --setting=graphs.enabled=true
install:
php composer.phar install --no-dev
install-dev:
php composer.phar install
test:
vendor/bin/phpunit tests --display-warnings
test-coverage:
vendor/bin/phpunit tests --testdox --coverage-filter src --coverage-html output/coverage --coverage-text --path-coverage --testdox-html output/test.html