File tree Expand file tree Collapse file tree 3 files changed +738
-82
lines changed Expand file tree Collapse file tree 3 files changed +738
-82
lines changed Original file line number Diff line number Diff line change 5
5
use App \Repositories \ConfigurationJsonRepository ;
6
6
use PhpCsFixer \Config ;
7
7
use PhpCsFixer \Finder ;
8
+ use PhpCsFixer \Runner \Parallel \ParallelConfigFactory ;
8
9
9
10
class ConfigurationFactory
10
11
{
@@ -42,6 +43,7 @@ class ConfigurationFactory
42
43
public static function preset ($ rules )
43
44
{
44
45
return (new Config ())
46
+ ->setParallelConfig (ParallelConfigFactory::detect ())
45
47
->setFinder (self ::finder ())
46
48
->setRules (array_merge ($ rules , resolve (ConfigurationJsonRepository::class)->rules ()))
47
49
->setRiskyAllowed (true )
Original file line number Diff line number Diff line change 23
23
"ext-xml" : " *"
24
24
},
25
25
"require-dev" : {
26
- "friendsofphp/php-cs-fixer" : " ^3.54.0 " ,
27
- "illuminate/view" : " ^10.48.8 " ,
28
- "larastan/larastan" : " ^2.9.5 " ,
29
- "laravel-zero/framework" : " ^10.3 .0" ,
30
- "mockery/mockery" : " ^1.6.11 " ,
26
+ "friendsofphp/php-cs-fixer" : " ^3.57.1 " ,
27
+ "illuminate/view" : " ^10.48.10 " ,
28
+ "larastan/larastan" : " ^2.9.6 " ,
29
+ "laravel-zero/framework" : " ^10.4 .0" ,
30
+ "mockery/mockery" : " ^1.6.12 " ,
31
31
"nunomaduro/termwind" : " ^1.15.1" ,
32
32
"pestphp/pest" : " ^2.34.7"
33
33
},
You can’t perform that action at this time.
0 commit comments