File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 88 ->in (__DIR__ )
99 ->exclude ('vendor ' )
1010 ->exclude ('test ' )
11- ->exclude ('tests ' );
11+ ->exclude ('tests ' )
12+ ;
1213
1314$ config = new PhpCsFixer \Config ();
14-
1515return $ config ->setRules ([
1616 '@PSR12 ' => true ,
1717 'phpdoc_order ' => true ,
18- 'array_syntax ' => [ 'syntax ' => 'short ' ],
18+ 'array_syntax ' => ['syntax ' => 'short ' ],
19+ 'single_line_comment_style ' => ['comment_types ' => ['hash ' ]],
1920 'strict_comparison ' => true ,
2021 'strict_param ' => true ,
21- 'no_trailing_whitespace ' => false ,
22- 'no_trailing_whitespace_in_comment ' => false ,
23- 'braces ' => false ,
24- 'single_blank_line_at_eof ' => false ,
25- 'blank_line_after_namespace ' => false ,
26- 'no_leading_import_slash ' => false ,
22+ 'phpdoc_indent ' => true ,
23+ 'phpdoc_no_package ' => true ,
24+ 'phpdoc_scalar ' => true ,
25+ 'trailing_comma_in_multiline ' => ['elements ' => ['arrays ' ]],
26+ 'declare_strict_types ' => true ,
2727 ])
28- ->setFinder ($ finder );
28+ ->setFinder ($ finder )
29+ ;
You can’t perform that action at this time.
0 commit comments