diff --git a/composer.json b/composer.json index 81e0d702518..ab12807dace 100644 --- a/composer.json +++ b/composer.json @@ -43,8 +43,8 @@ "doctrine/coding-standard": "12.0.0", "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2023.1", - "phpstan/phpstan": "1.10.67", - "phpstan/phpstan-strict-rules": "^1.5", + "phpstan/phpstan": "1.11.1", + "phpstan/phpstan-strict-rules": "^1.6", "phpunit/phpunit": "9.6.19", "psalm/plugin-phpunit": "0.18.4", "slevomat/coding-standard": "8.13.1", diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 3074c054646..9c3b2389430 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,14 +1,14 @@ parameters: level: 8 - phpVersion: 80200 + phpVersion: 80300 paths: - src - static-analysis treatPhpDocTypesAsCertain: false reportUnmatchedIgnoredErrors: false - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false ignoreErrors: + - identifier: missingType.generics + # https://github.com/doctrine/dbal/pull/3836 # TODO: remove in 4.0.0 - '~^Parameter #2 \$registeredAliases of static method Doctrine\\DBAL\\Query\\QueryException::nonUniqueAlias\(\) expects array, array given\.\z~' diff --git a/src/Result.php b/src/Result.php index fdc7daa94d6..9de52c293fc 100644 --- a/src/Result.php +++ b/src/Result.php @@ -184,7 +184,7 @@ public function iterateAssociative(): Traversable } /** - * {@inheritDoc} + * @return Traversable> * * @throws Exception */