File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ $config = PhpCsFixer\Config::create()
1010 '@PSR2 ' => true ,
1111 '@Symfony ' => true ,
1212 '@Symfony:risky ' => true ,
13+ '@PhpCsFixer ' => true ,
14+ '@PhpCsFixer:risky ' => true ,
1315 'align_multiline_comment ' => true ,
1416 'array_indentation ' => true ,
1517 'array_syntax ' => ['syntax ' => 'short ' ],
@@ -47,14 +49,16 @@ $config = PhpCsFixer\Config::create()
4749 'phpdoc_types_order ' => true ,
4850 'pow_to_exponentiation ' => true ,
4951 'random_api_migration ' => true ,
52+ 'return_assignment ' => false ,
5053 'single_line_comment_style ' => true ,
51- 'string_line_ending ' => true ,
5254 'strict_comparison ' => false ,
5355 'strict_param ' => false ,
56+ 'string_line_ending ' => true ,
5457 'yoda_style ' => false ,
5558 ])
5659 ->setFinder (
5760 PhpCsFixer \Finder::create ()
61+ ->notPath ('/branch- \\w+/ ' ) // git worktree
5862 ->exclude ('libs ' )
5963 ->exclude ('tests/Fixtures ' )
6064 ->exclude ('var ' )
You can’t perform that action at this time.
0 commit comments