You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

14 lines
349 B

  1. fail_fast: true
  2. repos:
  3. - repo: git@github.com:justin-at-demac/pre-commit-php.git
  4. rev: master
  5. hooks:
  6. - id: php-lint
  7. - id: php-no-var_dumps
  8. - id: php-md
  9. files: \.(php)$
  10. args: ["codesize,controversial,design,naming,unusedcode"]
  11. # - id: php-stan
  12. # files: \.(php)$
  13. # args: ["--configuration=.phpstan.neon"]