From d1b83d595b9d6900b0ccbecf70228c87833a86e3 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 1 Apr 2018 20:12:59 +0200 Subject: [PATCH] Extend ignored errors --- Config/phpstan.neon | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Config/phpstan.neon b/Config/phpstan.neon index e25184c..72ac8b9 100644 --- a/Config/phpstan.neon +++ b/Config/phpstan.neon @@ -1,9 +1,11 @@ parameters: ignoreErrors: - - '#Access to protected property Web\\WebApplication::\$[a-zA-Z0-9_]+#' + - '#Access to protected property Web\\WebApplication::(.*)#' - '#Calling method prepare\(\) on possibly null value of type PDO\|null\.#' - '#Calling method lastInsertId\(\) on possibly null value of type PDO\|null\.#' - - '#Access to an undefined property phpOMS\\DataStorage\\DataStorageConnectionInterface::#' + - '#Access to an undefined property phpOMS\\DataStorage\\DataStorageConnectionInterface::(.*)#' + - '#Call to an undefined method phpOMS\\Module\\ModuleAbstract::(.*)#' + - '#Access to an undefined property phpOMS\\ApplicationAbstract::(.*)#' fileExtensions: - php excludes_analyse: