Skip to content

Commit 72f571e

Browse files
committed
Update cs
1 parent 5ab1140 commit 72f571e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.cs.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,20 @@
2424
],
2525
],
2626
'increment_style' => ['style' => 'post'],
27-
'list_syntax' => ['syntax' => 'short'],
27+
'list_syntax' => ['syntax' => 'long'],
2828
'no_short_echo_tag' => true,
2929
'phpdoc_add_missing_param_annotation' => ['only_untyped' => false],
3030
'phpdoc_align' => false,
3131
'phpdoc_no_empty_return' => false,
3232
'phpdoc_order' => true, // psr-5
33+
'phpdoc_no_useless_inheritdoc' => false,
3334
'protected_to_private' => false,
3435
'yoda_style' => false,
36+
'method_argument_space' => ['on_multiline' => 'ensure_fully_multiline'],
37+
'ordered_imports' => [
38+
'sort_algorithm' => 'alpha',
39+
'imports_order' => ['class', 'const', 'function']
40+
],
3541
])
3642
->setFinder(PhpCsFixer\Finder::create()
3743
->in(__DIR__ . '/src')

0 commit comments

Comments
 (0)