summaryrefslogtreecommitdiff
path: root/phpstan.neon
diff options
context:
space:
mode:
Diffstat (limited to 'phpstan.neon')
-rw-r--r--phpstan.neon6
1 files changed, 1 insertions, 5 deletions
diff --git a/phpstan.neon b/phpstan.neon
index 7fe02b07e..63132d801 100644
--- a/phpstan.neon
+++ b/phpstan.neon
@@ -1,12 +1,8 @@
parameters:
- level: 5
+ level: 6
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.#'
- - '#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/*