summaryrefslogtreecommitdiff
path: root/phpstan.neon
diff options
context:
space:
mode:
Diffstat (limited to 'phpstan.neon')
-rw-r--r--phpstan.neon4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpstan.neon b/phpstan.neon
index 0703e0d15..b2cd978d8 100644
--- a/phpstan.neon
+++ b/phpstan.neon
@@ -2,7 +2,9 @@ parameters:
level: 5
ignoreErrors:
- '#Constant.*not found#'
- - '#Call to an undefined method DOMNode::getAttribute\(\).#'
+ - '#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)Attribute\(\).#'
- '#PHPDoc tag @param has invalid value#'
- message: '##'
paths: