Adjust rules after production projects checks

This commit is contained in:
ErickSkrauch 2022-10-12 21:58:27 +02:00
parent f2d1b6164e
commit 2db4af0180
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -72,7 +72,7 @@ class Rules {
'property' => 'one',
],
],
'no_null_property_initialization' => true, // TODO: check against yii2 default overrides
'no_null_property_initialization' => true,
'no_php4_constructor' => true,
'no_unneeded_final_method' => true,
'ordered_class_elements' => true,
@ -98,7 +98,7 @@ class Rules {
'trailing_comma_in_multiline' => [
'elements' => PHP_MAJOR_VERSION >= 8
? ['arrays', 'arguments', 'parameters', 'match']
: ['arrays', 'parameters'],
: ['arrays', 'arguments'],
],
'yoda_style' => [
'equal' => false,