-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
22 lines (21 loc) · 915 Bytes
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
parameters:
level: 9
paths:
- classes
- index.php
excludePaths:
- tests
ignoreErrors:
#- '#Undefined variable: \$this#'
- '#Instanceof between \*NEVER\* and Kirby\\Cms\\File will always evaluate to false.#'
#- '#Instanceof between \*NEVER\* and Kirby\\Cms\\Page will always evaluate to false.#'
- '#Instanceof between \*NEVER\* and Kirby\\Cms\\User will always evaluate to false.#'
#- '#Cannot call method findOne\(\) on mixed.#'
- '#Cannot call method findOneAndUpdate\(\) on mixed.#'
- '#Cannot call method deleteMany\(\) on mixed.#'
- '#Cannot call method findOne\(\) on mixed.#'
- '#Cannot call method createIndex\(\) on mixed.#'
- "#Cannot access offset 'modelType' on mixed.#"
#- "#Cannot access offset 'id' on mixed.#"
-
identifier: missingType.iterableValue