-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
49 lines (49 loc) · 1.36 KB
/
.pre-commit-config.yaml
File metadata and controls
49 lines (49 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-merge-conflict
- id: detect-private-key
- repo: https://github.com/rhysd/actionlint
rev: v1.7.9
hooks:
- id: actionlint
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.0.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 42.71.0
hooks:
- id: renovate-config-validator
- repo: local
hooks:
- id: php-cs-fixer
name: PHP CS Fixer
entry: vendor/bin/php-cs-fixer fix
language: system
types: [php]
pass_filenames: false
- id: phpstan
name: PHPStan
entry: vendor/bin/phpstan analyse
language: system
types: [php]
pass_filenames: false
- id: phpunit
name: PHPUnit
entry: vendor/bin/phpunit --testdox --display-all-issues
language: system
types: [php]
pass_filenames: false
- id: infection
name: Mutation Tests
entry: php infection.phar --min-msi=100 --min-covered-msi=100
language: system
types: [php]
pass_filenames: false