diff options
Diffstat (limited to 'phpstan.neon')
| -rw-r--r-- | phpstan.neon | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/phpstan.neon b/phpstan.neon index 8b0c352a2..fd5bc6be0 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -5,8 +5,17 @@ parameters: maximumNumberOfProcesses: 4 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.#' + # set_include_path detection issue + - identifier: requireOnce.fileNotFound + + # undetected as DOMElement + - '#Call to an undefined method DOMNode::#' + - '#Access to an undefined property DOMNode::#' + - '#expects DOMElement, DOMNode given#' + + # allow passing a 'strlen' string, etc. as the array_filter callback + - "/Parameter #2 \\$callback of function array_filter expects .+ '.+' given/" + - message: '##' paths: - lib/* |