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

add phpstan config

This commit is contained in:
Andrew Dolgov
2021-02-21 23:19:58 +03:00
parent f6bfb89b29
commit 6f29ecbbb9

17
phpstan.neon Normal file
View File

@@ -0,0 +1,17 @@
parameters:
level: 5
ignoreErrors:
- '#Constant.*not found#'
- '#Call to an undefined method DOMNode::getAttribute\(\).#'
- '#PHPDoc tag @param has invalid value#'
- message: '##'
paths:
- lib/*
- vendor/*
- plugins/*/vendor/*
- plugins.local/*/vendor/*
excludePaths:
- node_modules/*
paths:
- .