You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan.neon
+25-25Lines changed: 25 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -4,28 +4,28 @@ parameters:
4
4
paths:
5
5
- src
6
6
- tests
7
-
ignoreErrors:
8
-
- message:'#(Array shape contains unspecified keys|Parameter .+ of method .+ contains unspecified keys|Array shape is not compatible with|Property .+ type with generic class .+ does not specify its types|Cannot access offset .+ on array\{.+\}|array\{.+\} does not accept key .+|Array has no value type specified in iterable type array)#'
9
-
paths:
10
-
- tests/*
11
-
reportUnmatched:false
12
-
13
-
- message:'#Method [a-zA-Z0-9\\_\\\\:\\(\\)]+ (has parameter \\\$[a-zA-Z0-9_]+|return type) with no value type specified in iterable type array#'
14
-
paths:
15
-
- tests/*
16
-
reportUnmatched:false
17
-
18
-
- message:'#Property [a-zA-Z0-9\\\$\\_\\\\:\\(\\)]+ type has no value type specified in iterable type array#'
# PHPStan is overly aggressive on readonly properties.
28
-
- message:'#Class (.*) has an uninitialized readonly property (.*). Assign it in the constructor.#'
29
-
reportUnmatched:false
30
-
- message:'#Readonly property (.*) is assigned outside of the constructor.#'
31
-
reportUnmatched:false
7
+
ignoreErrors:
8
+
- message:'#(Array shape contains unspecified keys|Parameter .+ of method .+ contains unspecified keys|Array shape is not compatible with|Property .+ type with generic class .+ does not specify its types|Cannot access offset .+ on array\{.+\}|array\{.+\} does not accept key .+|Array has no value type specified in iterable type array)#'
9
+
paths:
10
+
- tests/*
11
+
reportUnmatched:false
12
+
13
+
- message:'#Method [a-zA-Z0-9\\_\\\\:\\(\\)]+ (has parameter \\\$[a-zA-Z0-9_]+|return type) with no value type specified in iterable type array#'
14
+
paths:
15
+
- tests/*
16
+
reportUnmatched:false
17
+
18
+
- message:'#Property [a-zA-Z0-9\\\$\\_\\\\:\\(\\)]+ type has no value type specified in iterable type array#'
0 commit comments