summaryrefslogtreecommitdiff
path: root/phpstan.neon
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-22 14:41:09 +0300
committerAndrew Dolgov <[email protected]>2021-02-22 14:41:09 +0300
commitbe4e7b13403666fc477d4b563ea8c075d0fd2022 (patch)
tree38eee4a6d7a5f0c4ecc3b37f997c385559c1d2a8 /phpstan.neon
parent043ef3dad68f774598e1b172ecb0f5ea75f112af (diff)
fix several issues reported by phpstan
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: