From 6d5f755335ca0cb0a82d65062689a4b0812f3675 Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Sat, 19 Feb 2022 11:32:37 +0200 Subject: [PATCH] Ignore missing class GdImage (PHP 8+) in phpstan tests --- tests/phpstan/phpstan.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/phpstan/phpstan.neon b/tests/phpstan/phpstan.neon index 7d5d7cb00..5f5cf5a74 100644 --- a/tests/phpstan/phpstan.neon +++ b/tests/phpstan/phpstan.neon @@ -92,6 +92,9 @@ parameters: path: '*/system/src/Grav/Common/Debugger.php' # These errors can be ignored (they depend on installed extensions) + - + message: '#GdImage#' + path: '*/system/src/Grav/Framework/Image/Adapter/GdAdapter.php' - message: '#Instantiated class (Memcache|Memcached|Redis|RedisException) not found#' path: '*/system/src/Grav/Common/Cache.php'