Skip to content

Commit 2db4af0

Browse files
committed
Adjust rules after production projects checks
1 parent f2d1b61 commit 2db4af0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Rules.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public static function create(array $overwrittenRules = []): array {
7272
'property' => 'one',
7373
],
7474
],
75-
'no_null_property_initialization' => true, // TODO: check against yii2 default overrides
75+
'no_null_property_initialization' => true,
7676
'no_php4_constructor' => true,
7777
'no_unneeded_final_method' => true,
7878
'ordered_class_elements' => true,
@@ -98,7 +98,7 @@ public static function create(array $overwrittenRules = []): array {
9898
'trailing_comma_in_multiline' => [
9999
'elements' => PHP_MAJOR_VERSION >= 8
100100
? ['arrays', 'arguments', 'parameters', 'match']
101-
: ['arrays', 'parameters'],
101+
: ['arrays', 'arguments'],
102102
],
103103
'yoda_style' => [
104104
'equal' => false,

0 commit comments

Comments
 (0)