diff --git a/.gitignore b/.gitignore index 60dc20934..aa6c58e51 100644 --- a/.gitignore +++ b/.gitignore @@ -46,7 +46,7 @@ yarn-error.log # PHP /vendor -.php_cs.cache +.php-cs-fixer.cache .phpunit.result.cache #-------------------# diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 97d0c648f..64f13be9b 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -21,7 +21,7 @@ return (new Config()) 'no_unreachable_default_argument_value' => true, 'no_useless_return' => true, 'ordered_imports' => [ - 'sortAlgorithm' => 'length', + 'sort_algorithm' => 'length', ], 'phpdoc_align' => [ 'align' => 'left',