File tree Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Expand file tree Collapse file tree 4 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 88 ],
99 "require" : {
1010 "php" : " ^8.2" ,
11- "symfony/console" : " ^6.3 " ,
11+ "symfony/console" : " ^6.4 " ,
1212 "nikic/php-parser" : " ^5.6" ,
13- "illuminate/container" : " ^12.15 " ,
13+ "illuminate/container" : " ^12.33 " ,
1414 "webmozart/assert" : " ^1.11"
1515 },
1616 "require-dev" : {
17- "symplify/easy-coding-standard " : " ^11.5 " ,
17+ "phpecs/phpecs " : " ^2.2 " ,
1818 "phpstan/phpstan" : " ^2.1" ,
19- "phpunit/phpunit" : " ^11.2 " ,
20- "rector/rector" : " ^2.1 "
19+ "phpunit/phpunit" : " ^11.5 " ,
20+ "rector/rector" : " ^2.2 "
2121 },
2222 "autoload" : {
2323 "psr-4" : {
Original file line number Diff line number Diff line change 55use Symplify \EasyCodingStandard \Config \ECSConfig ;
66use Symplify \EasyCodingStandard \ValueObject \Set \SetList ;
77
8+ return ECSConfig::configure ()
9+ ->with
810return static function (ECSConfig $ ecsConfig ): void {
911 $ ecsConfig ->paths ([
1012 __DIR__ . '/src ' ,
Original file line number Diff line number Diff line change 11parameters :
2- level : max
2+ level : 8
33
44 paths :
5+ - bin
56 - src
67 - tests
8+
9+ treatPhpDocTypesAsCertain : false
10+
11+ ignoreErrors :
12+ -
13+ path : src/Finder/PhpFilesFinder.php
14+ identifier : varTag.nativeType
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function findPhpFiles(array $paths): array
4242 private function findFilesUsingGlob (string $ directory ): array
4343 {
4444 // Search for php files in the current directory
45- /** @var string[] $phpFiles */
45+ /** @var list< string> $phpFiles */
4646 $ phpFiles = glob ($ directory . '/*.php ' );
4747
4848 // recursively search in subdirectories
You can’t perform that action at this time.
0 commit comments