diff --git a/dev/tools/phpstan/phpstan_v1_apstats.neon b/dev/tools/phpstan/phpstan_v1_apstats.neon index 29a29f69e36..f8ac1866608 100644 --- a/dev/tools/phpstan/phpstan_v1_apstats.neon +++ b/dev/tools/phpstan/phpstan_v1_apstats.neon @@ -71,10 +71,10 @@ parameters: # or pattern to avoid false positive of some bugged or allowed phpstan checks ignoreErrors: - '#.*phan-var#' - - '#^Expression "''…" on a separate line does not do anything\.$#' + - '#^Expression "''…" on a separate line does not do anything#' - '#Empty array passed to foreach#' - '#Unable to resolve the template type T#' - - '#in empty\(\) always exists and is always falsy.#' + - '#in empty\(\) always exists and is always falsy#' - '#is always#' internalErrorsCountLimit: 50 cache: diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 87bc7114eb0..b3b6c60ee47 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -73,10 +73,10 @@ parameters: # or pattern to avoid false positive of some bugged or allowed phpstan checks ignoreErrors: - '#.*phan-var#' - - '#^Expression "''…" on a separate line does not do anything\.$#' + - '#^Expression "''…" on a separate line does not do anything#' - '#Empty array passed to foreach#' - '#Unable to resolve the template type T#' - - '#in empty\(\) always exists and is always falsy.#' + - '#in empty\(\) always exists and is always falsy#' internalErrorsCountLimit: 50 cache: # nodesByFileCountMax: 512