From 08808138c7e23009499f4b807fd42e0706573da6 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 12 Feb 2026 14:48:23 +0100 Subject: [PATCH] Fix phpstan regression --- phpstan.neon.dist | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index ec5134a1f..8fa0ee419 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -17,10 +17,11 @@ parameters: - '~^Variable variables are not allowed.~' - '~^Variable .* might not be defined\.~' - '~Call to function array_filter\(\) requires parameter #2 to be passed to avoid loose comparison semantics.~' + - identifier: equal.notAllowed + - identifier: notEqual.notAllowed # TODO - '~^Dynamic call to static method .+\.~' # TODO in https://github.com/roundcube/roundcubemail/pull/9314 - '~^Construct empty\(\) is not allowed\. Use more strict comparison\.~' - - '~^Loose comparison via "[=!]=" is not allowed\.~' - '~^Casting to .+ something that''s already .+\.~' - '~^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.~' - '~^Call to function (array_search|in_array)\(\) requires parameter #3 to be set\.~'