-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
53 lines (42 loc) · 1.21 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
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: "#Constructor of class .+DependencyInjection.+ has an unused parameter .+.#"
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
-
message: "#Cannot cast mixed to .+.#"
path: *.php
-
message: "#Call to function assert\\(\\) with .+ will always evaluate to .+.#"
path: *.php