Skip to content

Commit

Permalink
Update rules (phpdoc type order, phpunit method calls, …) (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan authored Feb 4, 2024
1 parent 42a1a38 commit d2942b1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit d2942b1

Please sign in to comment.