Skip to content

Commit a4e244c

Browse files
committed
Disable ordered_attributes for PHP <8.0
1 parent 94ec619 commit a4e244c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CodeIgniter4.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ public function __construct()
350350
'object_operator_without_whitespace' => true,
351351
'octal_notation' => false, // requires 8.1+
352352
'operator_linebreak' => ['only_booleans' => true, 'position' => 'beginning'],
353+
'ordered_attributes' => false, // requires 8.0+
353354
'ordered_class_elements' => [
354355
'order' => [
355356
'use_trait',

0 commit comments

Comments
 (0)