From 12a63755483e95870182110aedce932f90d5dd31 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 11 Feb 2020 11:46:19 +0100 Subject: [PATCH] Ignore phpstan error --- phpstan/config.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpstan/config.neon b/phpstan/config.neon index 48b15acb1..2b26f4709 100644 --- a/phpstan/config.neon +++ b/phpstan/config.neon @@ -17,6 +17,9 @@ parameters: # variable defined in eval - '~^Undefined variable: \$res$~' + # erroneous detection of missing const, see https://github.com/phpstan/phpstan/issues/2960 + - '~^Access to undefined constant ZipArchive::LIBZIP_VERSION.$~' + # we don't have different constructors for parent/child - '~^Unsafe usage of new static\(\)\.$~'