Skip to content

Commit 6f7e921

Browse files
committed
static
1 parent 9f01668 commit 6f7e921

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
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": {

ecs.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
use Symplify\EasyCodingStandard\Config\ECSConfig;
66
use Symplify\EasyCodingStandard\ValueObject\Set\SetList;
77

8+
return ECSConfig::configure()
9+
->with
810
return static function (ECSConfig $ecsConfig): void {
911
$ecsConfig->paths([
1012
__DIR__ . '/src',

phpstan.neon

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
parameters:
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

src/Finder/PhpFilesFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)