Skip to content

Commit 55346ba

Browse files
Chris53897Chris8934bytehead
authored
Update to PHPStan v2 (#315)
Co-authored-by: Christopher Georg <[email protected]> Co-authored-by: David Greminger <[email protected]>
1 parent 2343a88 commit 55346ba

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"league/flysystem-memory": "^2.0 || ^3.0",
4242
"league/flysystem-sftp-v3": "^2.0 || ^3.0",
4343
"league/flysystem-azure-blob-storage": "^3.0",
44-
"phpstan/phpstan": "^1.10",
44+
"phpstan/phpstan": "^2.1.31",
4545
"phpunit/phpunit": "^9.6.29 || ^10.5.58 || ^11.5.43 || ^12.4.2",
4646
"royvoetman/flysystem-gitlab-storage": "^2.0 || ^3.0",
4747
"symfony/asset": "^5.4 || ^6.0 || ^7.0",

phpstan.neon

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: max
2+
level: 3
33

44
bootstrapFiles:
55
- %rootDir%/../../../vendor/autoload.php
@@ -10,14 +10,9 @@ parameters:
1010

1111
excludePaths:
1212
- src/DependencyInjection/Configuration.php
13-
- tests/App/cache
14-
- tests/App/logs
15-
- tests/App/var
16-
- var
13+
- tests/App/var (?)
1714
- vendor
1815

19-
checkGenericClassInNonGenericObjectType: false
20-
checkMissingIterableValueType: false
2116
reportUnmatchedIgnoredErrors: false
2217

2318
ignoreErrors:

0 commit comments

Comments
 (0)