1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-12 23:45:55 +00:00

fix several issues reported by phpstan

This commit is contained in:
Andrew Dolgov
2021-02-22 14:41:09 +03:00
parent 043ef3dad6
commit be4e7b1340
16 changed files with 35 additions and 54 deletions

View File

@@ -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: