Fix PHPCS to order by length not alphabetical

This commit is contained in:
Dane Everitt 2017-09-04 19:07:00 -05:00
parent dc310ffdea
commit f157c06d04
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
7 changed files with 28 additions and 25 deletions

View file

@ -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,