-
Notifications
You must be signed in to change notification settings - Fork 2
/
grumphp.yml
90 lines (75 loc) · 2.04 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
parameters:
# Default settings for php testing suite tasks
composer.strict: true
jsonlint.detect_key_conflicts: true
xmllint.load_from_net: true
xmllint.x_include: true
xmllint.dtd_validation: true
xmllint.scheme_validation: true
xmllint.triggered_by: [xml]
xmllint.ignore_patterns:
# Uses an incomplete definition, which conflicts when <exclude-pattern>
# is defined.
- /^phpcs.xml$/
- /^phpmd.xml$/
- /^phpunit.xml$/
- /^pdepend.xml$/
yamllint.parse_constant: true
phpcs.standard: ./phpcs.xml
phpcs.triggered_by: [php,phtml]
phplint.exclude: ['vendor']
phplint.jobs: ~
phplint.short_open_tag: false
phplint.ignore_patterns: [ ]
phplint.triggered_by: ['php']
phpmd.exclude: []
phpmd.ruleset:
- ./phpmd.xml
phpmd.triggered_by: [php]
phpstan.autoload_file: ~
phpstan.configuration: ./phpstan.neon
phpstan.level: 4
phpstan.triggered_by: [php]
phpunit.config_file: ./phpunit.xml
securitychecker.lockfile: ./composer.lock
securitychecker.run_always: true
git_blacklist.keywords:
- "die("
- "dd("
- "var_dump("
- "console.log("
- "print_r("
- "phpinfo("
- "exit("
- "exit;"
- "<<<<<<<"
- ">>>>>>>"
- "======="
- "<?php echo"
git_blacklist.triggered_by: [ 'php', 'js' ]
git_blacklist.whitelist_patterns: []
git_blacklist.regexp_type: G
git_blacklist.match_word: true
git_blacklist.ignore_patterns: []
grumphp:
ascii:
failed: ~
succeeded: ~
parallel:
enabled: true
# Default tasks for testing suite
tasks:
xmllint:
load_from_net: '%xmllint.load_from_net%'
x_include: '%xmllint.x_include%'
dtd_validation: '%xmllint.dtd_validation%'
scheme_validation: '%xmllint.scheme_validation%'
triggered_by: '%xmllint.triggered_by%'
ignore_patterns: '%xmllint.ignore_patterns%'
phpcs:
standard: '%phpcs.standard%'
triggered_by: '%phpcs.triggered_by%'
phpmd:
exclude: '%phpmd.exclude%'
ruleset: '%phpmd.ruleset%'
triggered_by: '%phpmd.triggered_by%'