Skip to content

Commit 737846e

Browse files
committed
enable ordered_attributes
1 parent 84e06d0 commit 737846e

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

.php-cs-fixer.dist.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
$overrides = [
4545
// for updating to coding-standard
4646
'modernize_strpos' => true,
47+
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
4748
'php_unit_attributes' => true,
4849
];
4950

.php-cs-fixer.no-header.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
$overrides = [
3333
// for updating to coding-standard
3434
'modernize_strpos' => true,
35+
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
3536
'php_unit_attributes' => true,
3637
];
3738

.php-cs-fixer.tests.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
'void_return' => true,
3838
// for updating to coding-standard
3939
'modernize_strpos' => true,
40+
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
4041
'php_unit_attributes' => true,
4142
];
4243

.php-cs-fixer.user-guide.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
],
4242
// for updating to coding-standard
4343
'modernize_strpos' => true,
44+
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
4445
'php_unit_attributes' => true,
4546
];
4647

0 commit comments

Comments
 (0)