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
+54Lines changed: 54 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,3 +16,57 @@ parameters:
16
16
- .docs
17
17
18
18
ignoreErrors:
19
+
-
20
+
message:"#^Method Contributte\\\\Elastica\\\\Client\\:\\:request\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
21
+
count:1
22
+
path:src/Client.php
23
+
24
+
-
25
+
message:"#^Method Contributte\\\\Elastica\\\\Client\\:\\:request\\(\\) has parameter \\$query with no value type specified in iterable type array\\.$#"
26
+
count:1
27
+
path:src/Client.php
28
+
29
+
-
30
+
message:"#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
31
+
count:1
32
+
path:src/Diagnostics/Panel.php
33
+
34
+
-
35
+
message:"#^Cannot access an offset on mixed\\.$#"
36
+
count:2
37
+
path:src/Diagnostics/Panel.php
38
+
39
+
-
40
+
message:"#^Casting to string something that's already string\\.$#"
41
+
count:1
42
+
path:src/Diagnostics/Panel.php
43
+
44
+
-
45
+
message:"#^Only booleans are allowed in a negated boolean, array given\\.$#"
46
+
count:1
47
+
path:src/Diagnostics/Panel.php
48
+
49
+
-
50
+
message:"#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#"
51
+
count:1
52
+
path:src/Diagnostics/Panel.php
53
+
54
+
-
55
+
message:"#^Only booleans are allowed in an if condition, Elastica\\\\Response\\|null given\\.$#"
56
+
count:1
57
+
path:src/Diagnostics/Panel.php
58
+
59
+
-
60
+
message:"#^Only booleans are allowed in an if condition, int given\\.$#"
61
+
count:1
62
+
path:src/Diagnostics/Panel.php
63
+
64
+
-
65
+
message:"#^Return type \\(string\\|null\\) of method Contributte\\\\Elastica\\\\Diagnostics\\\\Panel\\:\\:getPanel\\(\\) should be covariant with return type \\(string\\) of method Tracy\\\\IBarPanel\\:\\:getPanel\\(\\)$#"
66
+
count:1
67
+
path:src/Diagnostics/Panel.php
68
+
69
+
-
70
+
message:"#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
0 commit comments