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 5
5
"license" : " MIT" ,
6
6
"require" : {
7
7
"php" : " >=8.2" ,
8
- "phpstan/phpstan" : " ^2.0 "
8
+ "phpstan/phpstan" : " ^2.1 "
9
9
},
10
10
"require-dev" : {
11
11
"illuminate/container" : " ^11.0" ,
12
12
"phpstan/extension-installer" : " ^1.4" ,
13
- "phpunit/phpunit" : " ^11.4 " ,
13
+ "phpunit/phpunit" : " ^11.5 " ,
14
14
"rector/rector" : " ^2.0" ,
15
15
"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 " ,
18
18
"symplify/phpstan-rules" : " ^14.1" ,
19
- "tracy/tracy" : " ^2.9 "
19
+ "tracy/tracy" : " ^2.10 "
20
20
},
21
21
"autoload" : {
22
22
"psr-4" : {
Original file line number Diff line number Diff line change 3
3
declare (strict_types=1 );
4
4
5
5
use Symplify \EasyCodingStandard \Config \ECSConfig ;
6
- use Symplify \EasyCodingStandard \ValueObject \Set \SetList ;
7
6
8
- return static function (ECSConfig $ ecsConfig ): void {
9
- $ ecsConfig ->paths ([
10
- __DIR__ . '/ecs.php ' ,
11
- __DIR__ . '/rector.php ' ,
7
+ return ECSConfig::configure ()
8
+ ->withPaths ([
12
9
__DIR__ . '/src ' ,
13
10
__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