diff --git a/phpstan.neon b/phpstan.neon new file mode 100644 index 000000000..0703e0d15 --- /dev/null +++ b/phpstan.neon @@ -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: + - . \ No newline at end of file