-
Notifications
You must be signed in to change notification settings - Fork 6
/
grumphp.yml
32 lines (32 loc) · 985 Bytes
/
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
grumphp:
process_timeout: 120
testsuites:
static:
tasks:
- composer
- git_blacklist
- git_commit_message
- phpcs
- phpmd
- phpmnd
tasks:
composer:
git_commit_message:
git_blacklist:
keywords:
- '(;| |^)(die|dd|dump|var_dump|exit|eval)\('
- '(;| |^)exit;'
regexp_type: E
phpcs:
standard: PSR2
whitelist_patterns: ['/^app(.*)/', '/^config(.*)/', '/^recources(.*)/']
phpstan:
ignore_patterns: ['/^tests(.*)/', '/^database(.*)/', '/^config(.*)/', '/^routes(.*)/']
configuration: vendor/cubesystems/static-analysers/larastan.neon
level: 5
phpmd:
whitelist_patterns: ['/^app(.*)/', '/^config(.*)/', '/^recources(.*)/']
ruleset: ['vendor/cubesystems/static-analysers/phpdm-ruleset.xml']
phpmnd:
directory: 'app'
hint: false