summaryrefslogtreecommitdiff
path: root/phpstan.neon
diff options
context:
space:
mode:
Diffstat (limited to 'phpstan.neon')
-rw-r--r--phpstan.neon10
1 files changed, 4 insertions, 6 deletions
diff --git a/phpstan.neon b/phpstan.neon
index 818f99577..66c6caa50 100644
--- a/phpstan.neon
+++ b/phpstan.neon
@@ -1,13 +1,9 @@
parameters:
- level: 5
+ level: 6
+ reportUnmatchedIgnoredErrors: false
ignoreErrors:
-# - '#Constant.*not found#'
- '#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.#'
- - '#Access to an undefined property DOMNode::\$tagName.#'
- - '#Call to an undefined method DOMNode::(get|remove|set|has)Attribute\(\).#'
- - '#Call to an undefined method DOMNode::(getElementsByTagName)\(\).#'
- - '#PHPDoc tag @param has invalid value#'
- message: '##'
paths:
- lib/*
@@ -18,6 +14,8 @@ parameters:
- node_modules/*
- vendor/**/tests/*
- vendor/**/test/*
+ - vendor/sebastian/*
+ - lib/dojo-src/*
- plugins/**/tests/*
- plugins/**/Test/*
- plugins.local/**/tests/*