Makefile 577 B

123456789101112131415161718192021222324
  1. .PHONY : lint tests style phpstan phpmd report coverage
  2. all : lint tests style phpstan phpmd report
  3. tests :
  4. vendor/bin/phpunit tests/ --configuration=tests/phpunit.xml
  5. lint :
  6. vendor/bin/parallel-lint src tests
  7. style :
  8. vendor/bin/phpcs --standard=tests/coding_standard.xml --ignore=vendor -s .
  9. phpstan :
  10. vendor/bin/phpstan analyze -c tests/phpstan.neon
  11. phpmd :
  12. vendor/bin/phpmd src/ ansi cleancode,codesize,design,unusedcode,naming
  13. coverage :
  14. vendor/bin/phpunit tests/ --configuration=tests/phpunit.xml --coverage-text=php://stdout
  15. report :
  16. vendor/bin/phploc src/