-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
41 lines (33 loc) · 968 Bytes
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
parameters:
level: 9
paths:
- src
reportUnmatchedIgnoredErrors: false
ignoreErrors:
-
message: '#Expression on left side of \?\? is always null.#'
path: *.php
-
message: '#Access to an undefined static property .+::\$.+#'
path: *.php
-
message: '#Access to an uninitialized readonly property .+::\$.+#'
path: *.php
-
message: '#Property .+::\$serviceContainer is never read, only written.#'
path: *.php
-
message: "#Readonly property .+ is assigned outside of the constructor.#"
path: *.php
-
message: "#Class .+ has an uninitialized readonly property .+ Assign it in the constructor.#"
path: *.php
-
message: "#Method .+ should return .+ but returns mixed.#"
path: *.php
-
message: "#Method .+ has parameter .+ with no value type specified in iterable type iterable.#"
path: *.php
-
message: "#PHPDoc tag @phpstan-assert-if-true for .+ has no value type specified .+#"
path: *.php