Fix PHPCS to order by length not alphabetical
This commit is contained in:
parent
dc310ffdea
commit
f157c06d04
7 changed files with 28 additions and 25 deletions
3
.php_cs
3
.php_cs
|
@ -35,6 +35,9 @@ return PhpCsFixer\Config::create()
|
|||
'no_unreachable_default_argument_value' => true,
|
||||
'no_useless_return' => true,
|
||||
'not_operator_with_successor_space' => true,
|
||||
'ordered_imports' => [
|
||||
'sortAlgorithm' => 'length',
|
||||
],
|
||||
'phpdoc_align' => ['tags' => ['param']],
|
||||
'phpdoc_separation' => false,
|
||||
'protected_to_private' => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue