diff --git a/composer.json b/composer.json index bc67253..849ba1a 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "league/flysystem-memory": "^2.0 || ^3.0", "league/flysystem-sftp-v3": "^2.0 || ^3.0", "league/flysystem-azure-blob-storage": "^3.0", - "phpstan/phpstan": "^1.10", + "phpstan/phpstan": "^2.1.31", "phpunit/phpunit": "^9.6.29 || ^10.5.58 || ^11.5.43 || ^12.4.2", "royvoetman/flysystem-gitlab-storage": "^2.0 || ^3.0", "symfony/asset": "^5.4 || ^6.0 || ^7.0", diff --git a/phpstan.neon b/phpstan.neon index afd5d53..735cb30 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,5 @@ parameters: - level: max + level: 3 bootstrapFiles: - %rootDir%/../../../vendor/autoload.php @@ -10,14 +10,9 @@ parameters: excludePaths: - src/DependencyInjection/Configuration.php - - tests/App/cache - - tests/App/logs - - tests/App/var - - var + - tests/App/var (?) - vendor - checkGenericClassInNonGenericObjectType: false - checkMissingIterableValueType: false reportUnmatchedIgnoredErrors: false ignoreErrors: