From 52a40de004e090f05bc3a29fa948ccf3f7b77e26 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Mon, 6 Jan 2025 12:23:14 +0545 Subject: [PATCH] chore: remove message from phpstan ignoreErrors --- composer.json | 6 +++--- phpstan.neon | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 98edcd7..69eb742 100644 --- a/composer.json +++ b/composer.json @@ -13,11 +13,11 @@ "sabre/uri" : "^2.3 || ^3.0" }, "require-dev" : { - "friendsofphp/php-cs-fixer": "^3.64", - "phpstan/phpstan": "^1.11", + "friendsofphp/php-cs-fixer": "^3.66", + "phpstan/phpstan": "^1.12", "phpstan/phpstan-phpunit": "^1.4", "phpstan/phpstan-strict-rules": "^1.6", - "phpstan/extension-installer": "^1.3", + "phpstan/extension-installer": "^1.4", "phpunit/phpunit" : "^9.6" }, "suggest" : { diff --git a/phpstan.neon b/phpstan.neon index 159a2af..509ce6a 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -30,10 +30,6 @@ parameters: message: "#^Strict comparison using === between null and array will always evaluate to false.$#" count: 1 path: lib/functions.php - - - message: "#^Offset 'value' on array.* in isset\\(\\) always exists and is not nullable.$#" - count: 1 - path: lib/functions.php - message: "#^.* will always evaluate to true\\.$#" count: 4