23 lines
534 B
YAML
23 lines
534 B
YAML
|
fail_fast: true
|
||
|
repos:
|
||
|
- repo: git@github.com:justin-at-demac/pre-commit-php.git
|
||
|
rev: master
|
||
|
hooks:
|
||
|
- id: php-lint
|
||
|
#- id: php-cbf
|
||
|
#files: \.(php)$
|
||
|
- id: php-no-var_dumps
|
||
|
- id: php-no-exits
|
||
|
#- id: php-cs
|
||
|
#files: \.(php)$
|
||
|
- id: php-stan
|
||
|
files: \.(php)$
|
||
|
args: ["--configuration=.phpstan.neon"]
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v2.2.3
|
||
|
hooks:
|
||
|
- id: check-json
|
||
|
- id: check-xml
|
||
|
- id: check-yaml
|
||
|
- id: check-merge-conflict
|