ttrss/phpstan.neon

29 lines
1000 B
Plaintext
Raw Normal View History

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