diff --git a/src/Config.php b/src/Config.php index 87934ff..3ae2773 100644 --- a/src/Config.php +++ b/src/Config.php @@ -45,7 +45,6 @@ public function setRules(array $rules): ConfigInterface 'concat_space' => ['spacing' => 'one'], 'declare_strict_types' => false, 'echo_tag_syntax' => ['format' => 'short'], - 'empty_loop_condition' => false, 'global_namespace_import' => [ 'import_constants' => true, 'import_functions' => true, @@ -54,10 +53,12 @@ public function setRules(array $rules): ConfigInterface 'heredoc_to_nowdoc' => true, 'method_argument_space' => ['on_multiline' => 'ignore'], 'multiline_comment_opening_closing' => true, - 'native_constant_invocation' => false, + 'native_constant_invocation' => [ + 'scope' => 'namespaced', + 'strict' => false, + ], 'no_alternative_syntax' => false, 'no_blank_lines_after_phpdoc' => false, - 'no_extra_blank_lines' => true, 'no_superfluous_elseif' => true, 'no_superfluous_phpdoc_tags' => [ 'allow_mixed' => true, @@ -80,13 +81,12 @@ public function setRules(array $rules): ConfigInterface 'method', ]], 'php_unit_internal_class' => true, - 'php_unit_test_case_static_method_calls' => true, + 'php_unit_test_case_static_method_calls' => ['call_type' => 'self'], 'phpdoc_align' => false, 'phpdoc_no_package' => false, 'phpdoc_order' => true, 'phpdoc_separation' => false, 'phpdoc_to_comment' => false, - 'phpdoc_types_order' => false, 'phpdoc_var_annotation_correct_order' => true, 'psr_autoloading' => false, 'semicolon_after_instruction' => false,