From 2db4af0180a99d920b2da956955c5d48f723f6e2 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Wed, 12 Oct 2022 21:58:27 +0200 Subject: [PATCH] Adjust rules after production projects checks --- src/Rules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rules.php b/src/Rules.php index 6d6727a..9927cbb 100644 --- a/src/Rules.php +++ b/src/Rules.php @@ -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,