From 441ef9e82478cb250373938972bc09c0c1acf154 Mon Sep 17 00:00:00 2001 From: Erik van der Bas Date: Sat, 20 Jan 2024 14:09:12 +0100 Subject: [PATCH] fix: ignore acf_get_field_type void errors --- phpstan.neon | 1 + 1 file changed, 1 insertion(+) diff --git a/phpstan.neon b/phpstan.neon index 1e0de20e2..bbec546f6 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -11,6 +11,7 @@ parameters: - tests/* - docs/* ignoreErrors: + - '#Result of function acf_get_field_type \(void\) is used.#' - '#Instantiated class Twig\\CacheExtension\\CacheStrategy\\GenerationalCacheStrategy not found.#' - '#Instantiated class Twig\\CacheExtension\\Extension not found.#' - '#Method Timber\\Loader::_get_cache_extension\(\) has invalid return type Twig\\CacheExtension\\Extension.#'