From 3997e612b19eaaab4be143360e63afb070bbdce0 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 9 Jul 2021 19:44:25 +0100 Subject: [PATCH] silence phpstan bug phpstan/phpstan#5271 --- tests/phpstan/configs/phpstan-bugs.neon | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/phpstan/configs/phpstan-bugs.neon b/tests/phpstan/configs/phpstan-bugs.neon index 7d2210986..48a613645 100644 --- a/tests/phpstan/configs/phpstan-bugs.neon +++ b/tests/phpstan/configs/phpstan-bugs.neon @@ -1,5 +1,10 @@ parameters: ignoreErrors: + - + message: "#^Instanceof between pocketmine\\\\block\\\\utils\\\\BannerPatternLayer and pocketmine\\\\block\\\\utils\\\\BannerPatternLayer will always evaluate to true\\.$#" + count: 1 + path: ../../../src/block/BaseBanner.php + - message: "#^Call to function is_resource\\(\\) with resource will always evaluate to true\\.$#" count: 2