File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ return PhpCsFixer\Config::create()
156156 'phpdoc_to_comment ' => true ,
157157 'phpdoc_trim ' => true ,
158158 'phpdoc_trim_consecutive_blank_line_separation ' => true ,
159- 'phpdoc_types ' => true ,
159+ 'phpdoc_types ' => [ ' groups ' => [ ' simple ' , ' meta ' ]] ,
160160 'phpdoc_types_order ' => true ,
161161 'phpdoc_var_without_name ' => true ,
162162 'pow_to_exponentiation ' => true ,
@@ -177,7 +177,13 @@ return PhpCsFixer\Config::create()
177177 'trailing_comma_in_multiline_array ' => true ,
178178 'trim_array_spaces ' => true ,
179179 'unary_operator_spaces ' => true ,
180- 'visibility_required ' => true ,
180+ 'visibility_required ' => [
181+ 'elements ' => [
182+ 'const ' ,
183+ 'method ' ,
184+ 'property ' ,
185+ ],
186+ ],
181187 'void_return ' => true ,
182188 'whitespace_after_comma_in_array ' => true ,
183189 ]
@@ -186,4 +192,5 @@ return PhpCsFixer\Config::create()
186192 PhpCsFixer \Finder::create ()
187193 ->files ()
188194 ->in (__DIR__ . '/src ' )
195+ ->in (__DIR__ . '/tests/tests ' )
189196 );
You can’t perform that action at this time.
0 commit comments