Repository navigation
Expand file tree
/
Copy path.phpcq.yaml.dist
More file actions
135 lines (123 loc) · 2.91 KB
/
Copy path.phpcq.yaml.dist
File metadata and controls
135 lines (123 loc) · 2.91 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
phpcq:
repositories:
- https://phpcq.github.io/repository/repository.json
directories:
- src
- tests
artifact: .phpcq/build
composer:
autodiscover: false
plugins:
phpunit:
version: ^1.0
signed: false
requirements:
phpunit:
version: ^12
psalm:
version: ^1.1
signed: false
composer-require-checker:
version: ^1.0
signed: false
requirements:
composer-require-checker:
signed: false
version: ^4.0
phpmd:
version: ^1.0
signed: false
requirements:
phpmd:
signed: false
phpcpd:
version: ^1.1
signed: false
requirements:
phpcpd:
version: ^6.0
phploc:
version: ^1.0
signed: false
phpcs:
version: ^1.0
signed: false
composer-normalize:
version: ^1.0
signed: false
# Verifiziert gegen die im August 2026 gepinnten Werkzeugstaende - es sind genau die
# Schluessel, mit denen diese Phars tatsaechlich signiert sind. Rotiert ein Projekt seinen
# Signierschluessel, scheitert "phpcq update" sichtbar; dann den neuen Schluessel hier
# ergaenzen und NICHT per "phpcq update -k" beitreten lassen.
trusted-keys:
# phpunit, phpcpd, phploc - sb@sebastian-bergmann.de
- 4AA394086372C20A
# phpcs / phpcbf - bis 4.0.1
- 97B02DD8E5071466
# phpcs / phpcbf - ab 4.0.2, neuer Release-Schluessel von Juliette Reinders Folmer.
# Fingerabdruck gegen die README von PHPCSStandards/PHP_CodeSniffer geprueft:
# 5CB4 F778 BF9B C4FB 67AE 511D 96E9 1A99 2CF2 2FF4
- 96E91A992CF22FF4
# psalm
- 99BF4D9A33D65E1E
# phpmd
- 9093F8B32E4815AA
# composer-require-checker
- 033E5F8D801A2F8D
# composer-normalize
- C00543248C87FB13
tasks:
fix:
- composer-normalize-fix
- phpcbf
verify:
- composer-require-checker
- composer-normalize
analyze:
- phploc
- phpcpd
- phpmd
- phpcs
- psalm
- phpunit
default:
- verify
- analyze
phpcpd:
plugin: phpcpd
config:
exclude:
- tests
- src/CoreBundle/EventListener/DcGeneral/DefinitionBuilder
- src/CoreBundle/Resources/contao/dca
phpmd:
plugin: phpmd
config:
ruleset:
- ./.phpmd.xml
composer-require-checker:
plugin: composer-require-checker
config:
config_file: '.composer-require-checker.json'
phpcs:
plugin: phpcs
config: &phpcs-config
standard: PSR12
excluded:
- '*/CoreBundle/Resources/contao/dca/*'
- '*/CoreBundle/Resources/contao/languages/*'
- '*/CoreBundle/Resources/public/*'
phpcbf:
plugin: phpcs
config:
<<: *phpcs-config
fix: true
composer-normalize-fix:
plugin: composer-normalize
config:
dry_run: false
psalm-unused:
plugin: psalm
config:
custom_flags:
- '--find-unused-psalm-suppress'