@@ -18,14 +18,14 @@ return PhpCsFixer\Config::create()
1818 'binary_operator_spaces ' => true ,
1919 'blank_line_after_namespace ' => true ,
2020 'blank_line_after_opening_tag ' => true ,
21- 'blank_line_before_return ' => true ,
2221 'blank_line_before_statement ' => true ,
2322 'braces ' => true ,
2423 'cast_spaces ' => true ,
2524 'class_definition ' => true ,
2625 'class_keyword_remove ' => false , // ::class keyword gives us beter support in IDE
2726 'combine_consecutive_issets ' => true ,
2827 'combine_consecutive_unsets ' => true ,
28+ 'compact_nullable_typehint ' => true ,
2929 'concat_space ' => ['spacing ' => 'one ' ],
3030 'declare_equal_normalize ' => true ,
3131 'declare_strict_types ' => true ,
@@ -46,6 +46,7 @@ return PhpCsFixer\Config::create()
4646 'header_comment ' => false , // We don't use common header in all our files
4747 'heredoc_to_nowdoc ' => false , // Not sure about this one
4848 'include ' => true ,
49+ 'increment_style ' => true ,
4950 'indentation_type ' => true ,
5051 'is_null ' => ['use_yoda_style ' => false ],
5152 'linebreak_after_opening_tag ' => true ,
@@ -130,11 +131,14 @@ return PhpCsFixer\Config::create()
130131 'phpdoc_var_without_name ' => true ,
131132 'php_unit_construct ' => true ,
132133 'php_unit_dedicate_assert ' => true ,
134+ 'php_unit_expectation ' => true ,
135+ 'php_unit_mock ' => true ,
136+ 'php_unit_namespaced ' => true ,
137+ 'php_unit_no_expectation_annotation ' => true ,
133138 'php_unit_fqcn_annotation ' => true ,
134139 'php_unit_strict ' => false , // We sometime actually need assertEquals
135140 'php_unit_test_class_requires_covers ' => false , // We don't care as much as we should about coverage
136141 'pow_to_exponentiation ' => true ,
137- 'pre_increment ' => true ,
138142 'protected_to_private ' => true ,
139143 'psr0 ' => true ,
140144 'psr4 ' => true ,
0 commit comments