Skip to content

Commit 34e0de9

Browse files
committed
Update phpcs config
1 parent 7360b5f commit 34e0de9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.php-cs-fixer.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
'phpdoc_no_useless_inheritdoc' => true,
141141
'phpdoc_order' => [
142142
'order' => [
143+
'api',
143144
'internal',
144145
'psalm-internal',
145146
'template',
@@ -161,14 +162,14 @@
161162
'param',
162163
'return',
163164
'throws',
164-
'api',
165165
'psalm-suppress',
166166
],
167167
],
168168
'phpdoc_return_self_reference' => true,
169169
'phpdoc_scalar' => true,
170170
'phpdoc_separation' => [
171171
'groups' => [
172+
['api'],
172173
[
173174
'property',
174175
'property-read',
@@ -187,7 +188,7 @@
187188
'phpstan-require-extends',
188189
],
189190
['psalm-taint-sink', 'param'],
190-
['return', 'throws', 'api'],
191+
['return', 'throws'],
191192
['psalm-suppress'],
192193
],
193194
],

0 commit comments

Comments
 (0)