forked from ymirapp/wordpress-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grumphp.yml
54 lines (54 loc) · 1.3 KB
/
grumphp.yml
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
50
51
52
53
54
grumphp:
process_timeout: 120
tasks:
composer: ~
git_commit_message:
enforce_capitalized_subject: false
max_subject_width: 72
type_scope_conventions:
- types:
- build
- ci
- chore
- docs
- feat
- fix
- perf
- refactor
- revert
- style
- test
phpcpd:
directory: ['./src']
exclude:
- 'src/Attachment/GDImageEditor.php'
- 'src/Attachment/GDImageEditor.php'
phpcsfixer2:
allow_risky: true
config: '.php-cs-fixer.dist.php'
phplint: ~
phpmd:
ruleset: ['phpmd.xml']
exclude:
- 'pluggable.php'
- 'src/Autoloader.php'
- 'src/Configuration'
- 'src/CloudStorage/AbstractCloudStorageStreamWrapper.php'
- 'src/Email/Email.php'
- 'src/ObjectCache/AbstractPersistentObjectCache.php'
- 'src/Subscriber/ContentDeliveryNetworkPageCachingSubscriber.php'
- 'src/Support/Collection.php'
- 'tests'
phpstan:
ignore_patterns: ['/^(?!src)/']
phpunit:
always_execute: true
testsuites:
code_quality:
tasks:
- composer
- phpcpd
- phpcsfixer2
- phplint
- phpmd
- phpstan