From 6f29ecbbb96440552f434f5f487b96753bdb02df Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 21 Feb 2021 23:19:58 +0300 Subject: add phpstan config --- phpstan.neon | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 phpstan.neon (limited to 'phpstan.neon') 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 -- cgit v1.2.3