summaryrefslogtreecommitdiff
path: root/phpstan.neon
diff options
context:
space:
mode:
Diffstat (limited to 'phpstan.neon')
-rw-r--r--phpstan.neon19
1 files changed, 19 insertions, 0 deletions
diff --git a/phpstan.neon b/phpstan.neon
new file mode 100644
index 000000000..b2cd978d8
--- /dev/null
+++ b/phpstan.neon
@@ -0,0 +1,19 @@
+parameters:
+ level: 5
+ ignoreErrors:
+ - '#Constant.*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