forked from ringcentral/psr7
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
86 lines (70 loc) · 2.99 KB
/
phpstan-baseline.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
parameters:
ignoreErrors:
-
message: "#^Access to an undefined property GuzzleHttp\\\\Psr7\\\\FnStream\\:\\:\\$_fn_#"
count: 15
path: src/FnStream.php
-
message: "#^Parameter \\#1 \\$path of function basename expects string, string\\|null given\\.$#"
count: 1
path: src/MultipartStream.php
-
message: "#^Method GuzzleHttp\\\\Psr7\\\\MultipartStream\\:\\:getHeader\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/MultipartStream.php
-
message: "#^Parameter \\#1 \\$filename of function GuzzleHttp\\\\Psr7\\\\mimetype_from_filename expects string, string\\|null given\\.$#"
count: 1
path: src/MultipartStream.php
-
message: "#^Method GuzzleHttp\\\\Psr7\\\\ServerRequest\\:\\:normalizeNestedFileSpec\\(\\) should return array\\<Psr\\\\Http\\\\Message\\\\UploadedFileInterface\\> but returns array\\<int\\|string, array\\<Psr\\\\Http\\\\Message\\\\UploadedFileInterface>\\|Psr\\\\Http\\\\Message\\\\UploadedFileInterface\\>\\.$#"
count: 1
path: src/ServerRequest.php
-
message: "#^Method GuzzleHttp\\\\Psr7\\\\StreamWrapper\\:\\:getResource\\(\\) should return resource but returns resource\\|false\\.$#"
count: 1
path: src/StreamWrapper.php
-
message: "#^Method GuzzleHttp\\\\Psr7\\\\UploadedFile\\:\\:isStringNotEmpty\\(\\) has parameter \\$param with no typehint specified\\.$#"
count: 1
path: src/UploadedFile.php
-
message: "#^Method GuzzleHttp\\\\Psr7\\\\Uri\\:\\:filterUserInfoComponent\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: src/Uri.php
-
message: "#^Method GuzzleHttp\\\\Psr7\\\\Uri\\:\\:filterPath\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: src/Uri.php
-
message: "#^Method GuzzleHttp\\\\Psr7\\\\Uri\\:\\:filterQueryAndFragment\\(\\) should return string but returns string\\|null\\.$#"
count: 1
path: src/Uri.php
-
message: "#^Parameter \\#1 \\$path of method Psr\\\\Http\\\\Message\\\\UriInterface\\:\\:withPath\\(\\) expects string, string\\|null given\\.$#"
count: 3
path: src/UriNormalizer.php
-
message: "#^Parameter \\#1 \\$query of method Psr\\\\Http\\\\Message\\\\UriInterface\\:\\:withQuery\\(\\) expects string, string\\|null given\\.$#"
count: 2
path: src/UriNormalizer.php
-
message: "#^Variable \\$segment might not be defined\\.$#"
count: 1
path: src/UriResolver.php
-
message: "#^Argument of an invalid type array\\<int, string\\>\\|false supplied for foreach, only iterables are supported\\.$#"
count: 2
path: src/functions.php
-
message: "#^Parameter \\#2 \\$subject of function preg_match_all expects string, string\\|null given\\.$#"
count: 1
path: src/functions.php
-
message: "#^Parameter \\#1 \\$haystack of function substr_count expects string, string\\|null given\\.$#"
count: 1
path: src/functions.php
-
message: "#^Parameter \\#2 \\$subject of function preg_match expects string, string\\|null given\\.$#"
count: 1
path: src/functions.php