Makefile 406 B

123456789101112131415
  1. .PHONY: all fix lint test
  2. all: lint test
  3. fix:
  4. php vendor/bin/php-cs-fixer fix --config=.php_cs
  5. lint:
  6. php vendor/bin/php-cs-fixer fix --config=.php_cs --dry-run
  7. php vendor/bin/phpmd src/ text cleancode,codesize,controversial,design,naming,unusedcode
  8. php vendor/bin/phpmd tests/ text cleancode,codesize,controversial,design,naming,unusedcode
  9. test:
  10. php vendor/bin/phpunit --configuration phpunit.xml