summaryrefslogtreecommitdiff
path: root/phpstan.neon
diff options
context:
space:
mode:
Diffstat (limited to 'phpstan.neon')
-rw-r--r--phpstan.neon18
1 files changed, 17 insertions, 1 deletions
diff --git a/phpstan.neon b/phpstan.neon
index 4712629..0f3527c 100644
--- a/phpstan.neon
+++ b/phpstan.neon
@@ -1,5 +1,5 @@
parameters:
- level: 9
+ level: 10
paths:
- src
- tests
@@ -14,3 +14,19 @@ parameters:
path: tests
identifier: argument.type
reportUnmatched: false
+ -
+ message: '#Cannot call method ([a-zA-Z0-9_])+\(\) on mixed.#'
+ path: tests
+ identifier: method.nonObject
+ reportUnmatched: false
+ -
+ message: '#Cannot access property \$([a-zA-Z0-9_])+ on mixed.#'
+ path: tests
+ identifier: property.nonObject
+ reportUnmatched: false
+ -
+ path: tests
+ identifiers:
+ - property.dynamicName
+ - method.dynamicName
+ reportUnmatched: false