File tree Expand file tree Collapse file tree 2 files changed +10
-17
lines changed Expand file tree Collapse file tree 2 files changed +10
-17
lines changed Original file line number Diff line number Diff line change 55 "license" : " MIT" ,
66 "require" : {
77 "php" : " >=8.2" ,
8- "phpstan/phpstan" : " ^2.0 "
8+ "phpstan/phpstan" : " ^2.1 "
99 },
1010 "require-dev" : {
1111 "illuminate/container" : " ^11.0" ,
1212 "phpstan/extension-installer" : " ^1.4" ,
13- "phpunit/phpunit" : " ^11.4 " ,
13+ "phpunit/phpunit" : " ^11.5 " ,
1414 "rector/rector" : " ^2.0" ,
1515 "symfony/dependency-injection" : " ^6.4" ,
16- "symfony/finder" : " ^6.2 " ,
17- "symplify/easy-coding-standard" : " ^12.0 " ,
16+ "symfony/finder" : " ^6.4 " ,
17+ "symplify/easy-coding-standard" : " ^12.5 " ,
1818 "symplify/phpstan-rules" : " ^14.1" ,
19- "tracy/tracy" : " ^2.9 "
19+ "tracy/tracy" : " ^2.10 "
2020 },
2121 "autoload" : {
2222 "psr-4" : {
Original file line number Diff line number Diff line change 33declare (strict_types=1 );
44
55use Symplify \EasyCodingStandard \Config \ECSConfig ;
6- use Symplify \EasyCodingStandard \ValueObject \Set \SetList ;
76
8- return static function (ECSConfig $ ecsConfig ): void {
9- $ ecsConfig ->paths ([
10- __DIR__ . '/ecs.php ' ,
11- __DIR__ . '/rector.php ' ,
7+ return ECSConfig::configure ()
8+ ->withPaths ([
129 __DIR__ . '/src ' ,
1310 __DIR__ . '/tests ' ,
14- ]);
15-
16- $ ecsConfig ->sets ([
17- SetList::COMMON ,
18- SetList::PSR_12 ,
19- ]);
20- };
11+ ])
12+ ->withRootFiles ()
13+ ->withPreparedSets (common: true , psr12: true );
You can’t perform that action at this time.
0 commit comments