Skip to content

Commit 58eee57

Browse files
committed
Update php_cs.php.dist
1 parent 9343ba3 commit 58eee57

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

php_cs.php.dist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ $finder = PhpCsFixer\Finder::create()
66
->in(__DIR__)
77
;
88

9-
return PhpCsFixer\Config::create()
10-
->setRules([
9+
$config = new PhpCsFixer\Config();
10+
return $config->setRules([
1111
'align_multiline_comment' => [
1212
'comment_type' => 'phpdocs_only'
1313
],
@@ -54,7 +54,7 @@ return PhpCsFixer\Config::create()
5454
'sort_algorithm' => 'alpha'
5555
],
5656
'ordered_class_elements' => [
57-
'sortAlgorithm' => 'alpha',
57+
'sort_algorithm' => 'alpha',
5858
'order' => [
5959
'constant_public',
6060
'constant_protected',

0 commit comments

Comments
 (0)