From 68e49203d1dd27e8ced08a6c99857925a2891244 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 11 May 2022 11:12:45 +0300 Subject: [PATCH] make phpstan stfu about unmatcher ignored errors (seriously) --- phpstan.neon | 1 + 1 file changed, 1 insertion(+) diff --git a/phpstan.neon b/phpstan.neon index c943a5227..66c6caa50 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,6 @@ parameters: level: 6 + reportUnmatchedIgnoredErrors: false ignoreErrors: - '#Constant.*\b(SUBSTRING_FOR_DATE|SCHEMA_VERSION|SELF_USER_AGENT|LABEL_BASE_INDEX|PLUGIN_FEED_BASE_INDEX)\b.*not found#' - '#Comparison operation ">" between int<1, max> and 0 is always true.#'