@@ -25,6 +25,8 @@ return PhpCsFixer\Config::create()
2525 'ereg_to_preg ' => true ,
2626 'explicit_indirect_variable ' => true ,
2727 'explicit_string_variable ' => true ,
28+ 'fully_qualified_strict_types ' => true ,
29+ 'global_namespace_import ' => ['import_classes ' => true , 'import_constants ' => true , 'import_functions ' => true ],
2830 'general_phpdoc_annotation_remove ' => ['annotations ' => ['author ' , 'version ' , 'package ' ]],
2931 /* 'header_comment' => [
3032 'header' => $header,
@@ -43,7 +45,7 @@ return PhpCsFixer\Config::create()
4345 'modernize_types_casting ' => true ,
4446 'multiline_whitespace_before_semicolons ' => ['strategy ' => 'new_line_for_chained_calls ' ],
4547 'native_function_casing ' => true ,
46- 'native_function_invocation ' => true ,
48+ // 'native_function_invocation' => true,
4749 'new_with_braces ' => true ,
4850 'no_alias_functions ' => true ,
4951 'no_blank_lines_after_class_opening ' => true ,
@@ -77,7 +79,7 @@ return PhpCsFixer\Config::create()
7779 // 'ordered_class_elements' => [
7880 // 'sortAlgorithm' => 'alpha',
7981 // ],
80- 'ordered_imports ' => true ,
82+ 'ordered_imports ' => [ ' imports_order ' => [ ' const ' , ' class ' , ' function ' ]] ,
8183 'php_unit_construct ' => true ,
8284 'php_unit_dedicate_assert ' => true ,
8385 'php_unit_expectation ' => true ,
@@ -105,7 +107,9 @@ return PhpCsFixer\Config::create()
105107 'semicolon_after_instruction ' => true ,
106108 'short_scalar_cast ' => true ,
107109 'single_blank_line_before_namespace ' => true ,
110+ 'single_line_after_imports ' => true ,
108111 'single_line_comment_style ' => true ,
112+ 'single_import_per_statement ' => true ,
109113 'single_quote ' => true ,
110114 'standardize_not_equals ' => true ,
111115 'strict_comparison ' => true ,
0 commit comments