ttrss/phpstan.neon

29 lines
1000 B
Plaintext
Raw Normal View History

2021-02-21 20:19:58 +00:00
parameters:
level: 5
ignoreErrors:
2021-02-22 18:47:48 +00:00
# - '#Constant.*not found#'
2021-02-22 19:35:27 +00:00
- '#Constant.*\b(SUBSTRING_FOR_DATE|SCHEMA_VERSION|SELF_USER_AGENT|LABEL_BASE_INDEX|PLUGIN_FEED_BASE_INDEX)\b.*not found#'
2021-02-22 11:41:09 +00:00
- '#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)\(\).#'
2021-02-21 20:19:58 +00:00
- '#PHPDoc tag @param has invalid value#'
- message: '##'
paths:
- lib/*
- vendor/*
- plugins/*/vendor/*
- plugins.local/*/vendor/*
excludePaths:
- node_modules/*
2021-02-26 16:37:09 +00:00
- vendor/**/tests/*
- vendor/**/test/*
- plugins/**/tests/*
- plugins/**/Test/*
- plugins.local/**/tests/*
- plugins/**/test/*
- plugins.local/**/test/*
2021-02-26 16:55:49 +00:00
- plugins.local/*/vendor/intervention/*
2021-02-21 20:19:58 +00:00
paths:
2021-02-26 16:37:09 +00:00
- .