Skip to content

Commit

Permalink
Enable ordered_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed May 7, 2024
1 parent 6063938 commit e5a54a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Ruleset/Nexus80.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ public function __construct()
'object_operator_without_whitespace' => true,
'octal_notation' => false, // requires 8.1+
'operator_linebreak' => ['only_booleans' => true, 'position' => 'beginning'],
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'ordered_class_elements' => [
'order' => [
'use_trait',
Expand Down
1 change: 1 addition & 0 deletions src/Ruleset/Nexus81.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ public function __construct()
'object_operator_without_whitespace' => true,
'octal_notation' => true,
'operator_linebreak' => ['only_booleans' => true, 'position' => 'beginning'],
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'ordered_class_elements' => [
'order' => [
'use_trait',
Expand Down
1 change: 1 addition & 0 deletions src/Ruleset/Nexus82.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ public function __construct()
'object_operator_without_whitespace' => true,
'octal_notation' => true,
'operator_linebreak' => ['only_booleans' => true, 'position' => 'beginning'],
'ordered_attributes' => ['order' => [], 'sort_algorithm' => 'alpha'],
'ordered_class_elements' => [
'order' => [
'use_trait',
Expand Down

0 comments on commit e5a54a1

Please sign in to comment.