From d3954ec1be811bb746bee6d74c589894a07a018c Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Mon, 9 Oct 2023 16:53:18 +0200 Subject: [PATCH] PHPStan 1.10.38 (#6178) --- composer.json | 2 +- phpstan.neon.dist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f43549ad58d..949929eb1ff 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "doctrine/coding-standard": "12.0.0", "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2023.1", - "phpstan/phpstan": "1.10.35", + "phpstan/phpstan": "1.10.38", "phpstan/phpstan-strict-rules": "^1.5", "phpunit/phpunit": "9.6.13", "psalm/plugin-phpunit": "0.18.4", diff --git a/phpstan.neon.dist b/phpstan.neon.dist index dd7e3b2e447..ebda6402cbb 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -97,7 +97,7 @@ parameters: paths: - src/Connection.php - - message: '~^Method Doctrine\\DBAL\\Driver\\Mysqli\\Connection::exec\(\) should return int but returns int\|string\.$~' + message: '~^Method Doctrine\\DBAL\\Driver\\Mysqli\\Connection::exec\(\) should return int but returns int<-1, max>\|string\.$~' paths: - src/Driver/Mysqli/Connection.php -