-
Notifications
You must be signed in to change notification settings - Fork 1
/
psalm.yml
94 lines (88 loc) · 2.42 KB
/
psalm.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
91
92
93
94
parameters:
git_dir: .
bin_dir: ".Build/bin"
package_dir: ".Build/vendor/extrameile/grumphp-conventions-typo3"
ascii: ~
process_timeout: "%convention.process_timeout%"
convention.process_timeout: 60
convention.xmllint_ignore_pattern: []
convention.yamllint_ignore_pattern: []
convention.jsonlint_ignore_pattern:
- "Resources/Public/JavaScript/Libraries/"
convention.phpmd_ruleset: "%package_dir%/phpmd.xml"
convention.phpcs_standard: "%package_dir%/phpcs.xml"
convention.phpcs_slevomat_directories: "Classes"
convention.phpcpd_ignore_pattern:
- ".Build"
- "tmp-phpqa"
- "Configuration/TCA"
convention.phpstan_ignore_pattern:
- "ext_emconf.php"
- "tmp-phpqa/*"
convention.phpcslint_ignore_pattern:
- ext_emconf.php
- ext_localconf.php
- ext_tables.php
tasks: &tasks
git_commit_message:
matchers:
- /(\[(!!!|WIP)]|)(\[(BUGFIX|FEATURE|TASK|CLEANUP|SECURITY)]|Merge branch '.+' into) .+/
case_insensitive: false
multiline: true
additional_modifiers: ''
phpmnd: ~
phpstan:
ignore_patterns: "%convention.phpstan_ignore_pattern%"
phpcpd:
exclude: "%convention.phpcpd_ignore_pattern%"
phpmd:
ruleset:
- "%convention.phpmd_ruleset%"
git_blacklist:
keywords:
- "var_dump("
- "console.log("
- "print_r("
- "exit;"
- "exit("
- "die("
- "die;"
- "fileadmin"
- "DebuggerUtility"
whitelist_patterns:
- /^Classes\/(.*)/
triggered_by: [php, js, html]
metadata:
blocking: false #show only as warnings
jsonlint:
ignore_patterns: "%convention.jsonlint_ignore_pattern%"
detect_key_conflicts: true
phpcs:
ignore_patterns: "%convention.phpcslint_ignore_pattern%"
tab_width: 4
standard: "%convention.phpcs_standard%"
phplint: ~
xmllint:
ignore_patterns: "%convention.xmllint_ignore_pattern%"
triggered_by: ['xml']
xlifflint:
ignore_patterns: []
load_from_net: false
x_include: false
dtd_validation: false
scheme_validation: false
triggered_by: ['xlf']
yamllint:
ignore_patterns: "%convention.yamllint_ignore_pattern%"
securitychecker: ~
psalm: ~
extensions:
- PLUS\GrumPHPXliffTask\ExtensionLoader
testsuites:
phpcs:
tasks:
- shell
xml:
tasks:
- xmllint
- xlifflint