From c401e6b9783951ab3e4e85c2191c11775c85cf24 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sun, 7 Jul 2019 18:55:20 +0545 Subject: [PATCH] excludes_analyse APC.php to avoid 'Function OC\Memcache\apc_exists not found while trying to analyse it' --- phpstan.neon | 1 + 1 file changed, 1 insertion(+) diff --git a/phpstan.neon b/phpstan.neon index 4694ff6de6c7..8cf62823dda7 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -32,6 +32,7 @@ parameters: # specific app excludes # eventually move into app directories and use neon includes for better separation - %currentWorkingDirectory%/apps/dav/bin + - %currentWorkingDirectory%/lib/private/Memcache/APC.php ignoreErrors: - '#Undefined variable: \$OC_[a-zA-Z0-9\\_]+#' - '#Undefined variable: \$vendor#'