mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 16:19:06 +01:00
19 lines
529 B
YAML
19 lines
529 B
YAML
# Pre-commit hooks to run tests and ensure code is cleaned.
|
|
# See https://pre-commit.com for more information
|
|
repos:
|
|
- repo: https://github.com/digitalpulp/pre-commit-php.git
|
|
rev: 1.4.0
|
|
hooks:
|
|
- id: php-stan
|
|
files: ^src\/.*\.(php)$
|
|
args: ['--configuration=.phpstan/config.neon']
|
|
- repo: local
|
|
hooks:
|
|
- id: xmlint
|
|
files: ^doc\/.*\.(docbook)$
|
|
name: xmlint
|
|
entry: xmllint --valid --noout doc/LdapSaisie.docbook
|
|
pass_filenames: false
|
|
language: system
|
|
types: [text]
|
|
pass_filenames: false
|