From e58dd5f1486ff71e6f014693ff951a6d78cea666 Mon Sep 17 00:00:00 2001 From: mcop1 <89011527+mcop1@users.noreply.github.com> Date: Tue, 13 Sep 2022 11:16:56 +0200 Subject: [PATCH] [Task]: Fixed php stan run (#97) * Fix/ignore PHPStan error * Fix/ignore PHPStan error --- phpstan-baseline.neon | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 0880679..72516d2 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -4,3 +4,7 @@ parameters: message: "#^Call to function is_array\\(\\) with Pimcore\\\\Config\\\\Config will always evaluate to false\\.$#" count: 1 path: src/Services/PerspectiveAccessor.php + - + message: "#^Else branch is unreachable because previous condition is always true.$#" + count: 1 + path: src/Services/PerspectiveAccessor.php