File tree Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Expand file tree Collapse file tree 2 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 11<?php
22
3- /*
4- * Configuration for friendsofphp/php-cs-fixer
5- *
6- * @link https://github.com/FriendsOfPHP/PHP-CS-Fixer
7- */
8-
9- $ finder = PhpCsFixer \Finder::create ()
10- ->in ('src ' )
11- ->in ('tests ' )
12- ;
13- return PhpCsFixer \Config::create ()
3+ $ config = PhpCsFixer \Config::create ()
4+ ->setRiskyAllowed (true )
145 ->setRules ([
156 '@Symfony ' => true ,
167 '@Symfony:risky ' => true ,
178 ])
18- ->setRiskyAllowed (true )
19- ->setFinder ($ finder );
9+ ->setFinder (
10+ PhpCsFixer \Finder::create ()
11+ ->in (__DIR__ .'/src ' )
12+ ->in (__DIR__ .'/tests ' )
13+ ->name ('*.php ' )
14+ )
15+ ;
16+
17+ return $ config ;
Original file line number Diff line number Diff line change 44 path :
55 - " src"
66 - " tests"
7-
8- enabled :
9- - short_array_syntax
You can’t perform that action at this time.
0 commit comments