From 3f625800af92066a7122f1622f5c9c446a0b172f Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Mon, 2 Nov 2026 09:01:57 +0930 Subject: [PATCH] chore: delete strict comparison message from phpstan ignoreErrors This message is no longer reported by the latest phpstan version. Update the dev tool requirements to specify at least the current minor version of each tool. This ensures that everyone must run a recent version to get the "best" analysis. Signed-off-by: Phillip Davis --- composer.json | 8 ++++---- phpstan.neon | 4 ---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 0dd104a..cd9ad5d 100644 --- a/composer.json +++ b/composer.json @@ -14,12 +14,12 @@ }, "require-dev" : { "friendsofphp/php-cs-fixer": "^3.95", - "phpstan/phpstan": "^2.2", - "phpstan/phpstan-phpunit": "^2.0", - "phpstan/phpstan-strict-rules": "^2.0", + "phpstan/phpstan": "^2.3", + "phpstan/phpstan-phpunit": "^2.1", + "phpstan/phpstan-strict-rules": "^2.1", "phpstan/extension-installer": "^1.4", "phpunit/phpunit" : "^11.5", - "rector/rector": "^2.6" + "rector/rector": "^2.8" }, "suggest" : { "ext-curl" : " to make http requests with the Client class" diff --git a/phpstan.neon b/phpstan.neon index afb3e74..2f181d4 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,10 +1,6 @@ parameters: level: 6 ignoreErrors: - - - rawMessage: "Strict comparison using !== between '' and non-empty-string will always evaluate to true." - count: 1 - path: lib/Auth/Digest.php - rawMessage: "Casting to string something that's already string." count: 1