diff --git a/src/Config.php b/src/Config.php index 0828d11..efe5012 100644 --- a/src/Config.php +++ b/src/Config.php @@ -48,6 +48,7 @@ public function getRules(): array "no_whitespace_in_blank_line" => true, "non_printable_character" => true, "normalize_index_brace" => true, + "nullable_type_declaration_for_default_null_value" => true, "ordered_imports" => ['imports_order' => ['class', 'const', 'function']], "php_unit_construct" => true, "php_unit_dedicate_assert" => true, @@ -57,7 +58,6 @@ public function getRules(): array "psr_autoloading" => ['dir' => $this->src], "return_type_declaration" => ["space_before" => "none"], "short_scalar_cast" => true, - "nullable_type_declaration_for_default_null_value" => true, ]; } }