summaryrefslogtreecommitdiff
path: root/phpstan.neon
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
committerSam Light <sam@lightscale.co.uk>2026-06-10 19:00:32 +0100
commitff41f2cdb273a85af8f2ae41cc90b21db8a97ff9 (patch)
tree3d3c6cb1a273d3daed639434dd5df282d4fd3d33 /phpstan.neon
parentf11839200e2133bde89b96859d13e1ed67f1d3bf (diff)
stricter php stan with ignores for pest testing
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