summaryrefslogtreecommitdiff
path: root/phpstan.neon
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-18 07:32:28 +0300
committerAndrew Dolgov <[email protected]>2021-11-18 07:32:28 +0300
commit63ec5a89657bb7f9650582b96e0bb255a0889b48 (patch)
tree074b61eedd7304ba1d8d7deec01d26973ef8e6b8 /phpstan.neon
parent3a3fde1a2e0beac6d179c6449eaad726100710d7 (diff)
parent2d830c6281c19a7ee29cd379f5aedc82deef3775 (diff)
Merge branch 'wip-phpstan-level6'
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/*