From 1799b185510a77ae43c851c4d0d165c6fd4b5499 Mon Sep 17 00:00:00 2001 From: arellanog Date: Fri, 1 Feb 2019 17:52:16 -0300 Subject: [PATCH] Refining PHP STAN configuration file for Symfony projects --- config/config.neon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.neon b/config/config.neon index c9cb90b..eed121e 100644 --- a/config/config.neon +++ b/config/config.neon @@ -30,12 +30,12 @@ parameters: reportMagicMethods: false reportMagicProperties: false ignoreErrors: - - '#Call to an undefined method [a-zA-Z0-9\\_<>:]+::findOneBy[A-Z][a-zA-Z]*\(\)#' + - '#Call to an undefined method [a-zA-Z0-9\\_<>:]+::find[A-Z][a-zA-Z]*\(\)#' internalErrorsCountLimit: 50 cache: nodesByFileCountMax: 512 nodesByStringCountMax: 512 - reportUnmatchedIgnoredErrors: true + reportUnmatchedIgnoredErrors: false scopeClass: PHPStan\Analyser\Scope universalObjectCratesClasses: - stdClass