diff options
author | Andrew Dolgov <[email protected]> | 2021-02-24 21:56:52 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-24 21:56:52 +0300 |
commit | 93940d2a9f80d9e1dac49b5eb7db23230d31c5f6 (patch) | |
tree | 71016661f6017918d0934eb462bd9552018d557a /phpstan.neon | |
parent | 8b022c2bfb356d7dddaf334bc931d6dec77086fb (diff) | |
parent | 1adacd057230aea4ede29dab510385bf01cf99a3 (diff) |
Merge branch 'master' of git.fakecake.org:fox/tt-rss into weblate-integration
Diffstat (limited to 'phpstan.neon')
-rw-r--r-- | phpstan.neon | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 000000000..29ca27d26 --- /dev/null +++ b/phpstan.neon @@ -0,0 +1,20 @@ +parameters: + level: 5 + ignoreErrors: +# - '#Constant.*not found#' + - '#Constant.*\b(SUBSTRING_FOR_DATE|SCHEMA_VERSION|SELF_USER_AGENT|LABEL_BASE_INDEX|PLUGIN_FEED_BASE_INDEX)\b.*not found#' + - '#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: + - lib/* + - vendor/* + - plugins/*/vendor/* + - plugins.local/*/vendor/* + + excludePaths: + - node_modules/* + paths: + - .
\ No newline at end of file |