|
1 | 1 | parameters:
|
2 | 2 | ignoreErrors:
|
3 | 3 | -
|
4 |
| - message: "#^Parameter \\#2 \\$array of function implode expects array\\|null, array\\<string\\>\\|string given\\.$#" |
| 4 | + message: '#^Parameter \#2 \$array of function implode expects array\|null, array\<string\>\|string given\.$#' |
| 5 | + identifier: argument.type |
5 | 6 | count: 2
|
6 | 7 | path: src/Core/OAuth1Provider.php
|
7 | 8 |
|
8 | 9 | -
|
9 |
| - message: "#^Parameter \\#1 \\$separator of function explode expects non\\-empty\\-string, string given\\.$#" |
| 10 | + message: '#^Parameter \#1 \$separator of function explode expects non\-empty\-string, string given\.$#' |
| 11 | + identifier: argument.type |
10 | 12 | count: 1
|
11 | 13 | path: src/Core/OAuth2Provider.php
|
12 | 14 |
|
13 | 15 | -
|
14 |
| - message: "#^Method chillerlan\\\\OAuth\\\\Core\\\\OAuthProvider\\:\\:cleanBodyParams\\(\\) should return array\\<string, string\\> but returns array\\<int\\|string, bool\\|float\\|int\\|string\\|null\\>\\.$#" |
| 16 | + message: '#^Method chillerlan\\OAuth\\Core\\OAuthProvider\:\:cleanBodyParams\(\) should return array\<string, string\> but returns array\<int\|string, bool\|float\|int\|string\|null\>\.$#' |
| 17 | + identifier: return.type |
15 | 18 | count: 1
|
16 | 19 | path: src/Core/OAuthProvider.php
|
17 | 20 |
|
18 | 21 | -
|
19 |
| - message: "#^Method chillerlan\\\\OAuth\\\\Core\\\\OAuthProvider\\:\\:cleanQueryParams\\(\\) should return array\\<string, string\\> but returns array\\<int\\|string, bool\\|float\\|int\\|string\\|null\\>\\.$#" |
| 22 | + message: '#^Method chillerlan\\OAuth\\Core\\OAuthProvider\:\:cleanQueryParams\(\) should return array\<string, string\> but returns array\<int\|string, bool\|float\|int\|string\|null\>\.$#' |
| 23 | + identifier: return.type |
20 | 24 | count: 1
|
21 | 25 | path: src/Core/OAuthProvider.php
|
22 | 26 |
|
23 | 27 | -
|
24 |
| - message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, int given\\.$#" |
| 28 | + message: '#^Parameter \#1 \$length of function random_bytes expects int\<1, max\>, int given\.$#' |
| 29 | + identifier: argument.type |
25 | 30 | count: 1
|
26 | 31 | path: src/Core/OAuthProvider.php
|
27 | 32 |
|
28 | 33 | -
|
29 |
| - message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#" |
| 34 | + message: '#^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$#' |
| 35 | + identifier: argument.type |
30 | 36 | count: 1
|
31 | 37 | path: src/Core/Utilities.php
|
32 | 38 |
|
33 | 39 | -
|
34 |
| - message: "#^Method chillerlan\\\\OAuth\\\\OAuthProviderFactory\\:\\:getProvider\\(\\) should return chillerlan\\\\OAuth\\\\Core\\\\OAuthInterface but returns object\\.$#" |
| 40 | + message: '#^Method chillerlan\\OAuth\\OAuthProviderFactory\:\:getProvider\(\) should return chillerlan\\OAuth\\Core\\OAuthInterface but returns object\.$#' |
| 41 | + identifier: return.type |
35 | 42 | count: 1
|
36 | 43 | path: src/OAuthProviderFactory.php
|
37 | 44 |
|
38 | 45 | -
|
39 |
| - message: "#^Access to an undefined property object\\:\\:\\$name\\.$#" |
| 46 | + message: '#^Access to an undefined property object\:\:\$name\.$#' |
| 47 | + identifier: property.notFound |
40 | 48 | count: 1
|
41 | 49 | path: src/Providers/GuildWars2.php
|
42 | 50 |
|
43 | 51 | -
|
44 |
| - message: "#^Access to an undefined property object\\:\\:\\$permissions\\.$#" |
| 52 | + message: '#^Access to an undefined property object\:\:\$permissions\.$#' |
| 53 | + identifier: property.notFound |
45 | 54 | count: 1
|
46 | 55 | path: src/Providers/GuildWars2.php
|
47 | 56 |
|
48 | 57 | -
|
49 |
| - message: "#^Method chillerlan\\\\OAuth\\\\Providers\\\\LastFM\\:\\:parseTrack\\(\\) return type has no value type specified in iterable type array\\.$#" |
| 58 | + message: '#^Method chillerlan\\OAuth\\Providers\\LastFM\:\:parseTrack\(\) return type has no value type specified in iterable type array\.$#' |
| 59 | + identifier: missingType.iterableValue |
50 | 60 | count: 1
|
51 | 61 | path: src/Providers/LastFM.php
|
52 | 62 |
|
53 | 63 | -
|
54 |
| - message: "#^Method chillerlan\\\\OAuth\\\\Providers\\\\LastFM\\:\\:scrobble\\(\\) has parameter \\$tracks with no value type specified in iterable type array\\.$#" |
| 64 | + message: '#^Method chillerlan\\OAuth\\Providers\\LastFM\:\:scrobble\(\) has parameter \$tracks with no value type specified in iterable type array\.$#' |
| 65 | + identifier: missingType.iterableValue |
55 | 66 | count: 1
|
56 | 67 | path: src/Providers/LastFM.php
|
57 | 68 |
|
58 | 69 | -
|
59 |
| - message: "#^Method chillerlan\\\\OAuth\\\\Providers\\\\LastFM\\:\\:scrobble\\(\\) return type has no value type specified in iterable type array\\.$#" |
| 70 | + message: '#^Method chillerlan\\OAuth\\Providers\\LastFM\:\:scrobble\(\) return type has no value type specified in iterable type array\.$#' |
| 71 | + identifier: missingType.iterableValue |
60 | 72 | count: 1
|
61 | 73 | path: src/Providers/LastFM.php
|
62 | 74 |
|
63 | 75 | -
|
64 |
| - message: "#^Method chillerlan\\\\OAuth\\\\Providers\\\\LastFM\\:\\:sendScrobbles\\(\\) return type has no value type specified in iterable type array\\.$#" |
| 76 | + message: '#^Method chillerlan\\OAuth\\Providers\\LastFM\:\:sendScrobbles\(\) return type has no value type specified in iterable type array\.$#' |
| 77 | + identifier: missingType.iterableValue |
65 | 78 | count: 1
|
66 | 79 | path: src/Providers/LastFM.php
|
67 | 80 |
|
68 | 81 | -
|
69 |
| - message: "#^Parameter \\#1 \\$body of method chillerlan\\\\OAuth\\\\Providers\\\\LastFM\\:\\:sendScrobbles\\(\\) expects array\\<string, string\\>, array\\<string, bool\\|float\\|int\\|string\\> given\\.$#" |
| 82 | + message: '#^Parameter \#1 \$body of method chillerlan\\OAuth\\Providers\\LastFM\:\:sendScrobbles\(\) expects array\<string, string\>, array\<string, bool\|float\|int\|string\> given\.$#' |
| 83 | + identifier: argument.type |
70 | 84 | count: 1
|
71 | 85 | path: src/Providers/LastFM.php
|
72 | 86 |
|
73 | 87 | -
|
74 |
| - message: "#^Property chillerlan\\\\OAuth\\\\Core\\\\AccessToken\\:\\:\\$expires \\(int\\) does not accept DateInterval\\|DateTime\\|int\\|null\\.$#" |
| 88 | + message: '#^Property chillerlan\\OAuth\\Core\\AccessToken\:\:\$expires \(int\) does not accept DateInterval\|DateTime\|int\|null\.$#' |
| 89 | + identifier: assign.propertyType |
75 | 90 | count: 1
|
76 | 91 | path: tests/Core/AccessTokenTest.php
|
77 | 92 |
|
78 | 93 | -
|
79 |
| - message: "#^Call to method chillerlan\\\\OAuth\\\\Core\\\\AuthenticatedUser\\:\\:fromIterable\\(\\) on a separate line has no effect\\.$#" |
| 94 | + message: '#^Call to method chillerlan\\OAuth\\Core\\AuthenticatedUser\:\:fromIterable\(\) on a separate line has no effect\.$#' |
| 95 | + identifier: method.resultUnused |
80 | 96 | count: 1
|
81 | 97 | path: tests/Core/AuthenticatedUserTest.php
|
82 | 98 |
|
83 | 99 | -
|
84 |
| - message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#" |
| 100 | + message: '#^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$#' |
| 101 | + identifier: argument.type |
85 | 102 | count: 2
|
86 | 103 | path: tests/Core/UtilitiesTest.php
|
87 | 104 |
|
88 | 105 | -
|
89 |
| - message: "#^Parameter \\#2 \\$string of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertMatchesRegularExpression\\(\\) expects string, int\\|string given\\.$#" |
| 106 | + message: '#^Parameter \#2 \$string of static method PHPUnit\\Framework\\Assert\:\:assertMatchesRegularExpression\(\) expects string, int\|string given\.$#' |
| 107 | + identifier: argument.type |
90 | 108 | count: 1
|
91 | 109 | path: tests/Providers/Live/AmazonAPITest.php
|
92 | 110 |
|
93 | 111 | -
|
94 |
| - message: "#^Access to an undefined property chillerlan\\\\DotEnv\\\\DotEnv\\:\\:\\$GW2_TOKEN\\.$#" |
| 112 | + message: '#^Access to an undefined property chillerlan\\DotEnv\\DotEnv\:\:\$GW2_TOKEN\.$#' |
| 113 | + identifier: property.notFound |
95 | 114 | count: 1
|
96 | 115 | path: tests/Providers/Live/GuildWars2APITest.php
|
97 | 116 |
|
98 | 117 | -
|
99 |
| - message: "#^Access to an undefined property chillerlan\\\\DotEnv\\\\DotEnv\\:\\:\\$GW2_TOKEN_NAME\\.$#" |
| 118 | + message: '#^Access to an undefined property chillerlan\\DotEnv\\DotEnv\:\:\$GW2_TOKEN_NAME\.$#' |
| 119 | + identifier: property.notFound |
100 | 120 | count: 1
|
101 | 121 | path: tests/Providers/Live/GuildWars2APITest.php
|
102 | 122 |
|
103 | 123 | -
|
104 |
| - message: "#^Dead catch \\- chillerlan\\\\OAuth\\\\Providers\\\\ProviderException is never thrown in the try block\\.$#" |
| 124 | + message: '#^Dead catch \- chillerlan\\OAuth\\Providers\\ProviderException is never thrown in the try block\.$#' |
| 125 | + identifier: catch.neverThrown |
105 | 126 | count: 1
|
106 | 127 | path: tests/Providers/Live/MusicBrainzAPITest.php
|
107 | 128 |
|
108 | 129 | -
|
109 |
| - message: """ |
110 |
| - #^Fetching class constant class of deprecated class chillerlan\\\\OAuth\\\\Providers\\\\OpenStreetmap\\: |
111 |
| - https\\://github\\.com/openstreetmap/operations/issues/867$# |
112 |
| - """ |
| 130 | + message: ''' |
| 131 | + #^Access to constant on deprecated class chillerlan\\OAuth\\Providers\\OpenStreetmap\: |
| 132 | + https\://github\.com/openstreetmap/operations/issues/867$# |
| 133 | + ''' |
| 134 | + identifier: classConstant.deprecatedClass |
113 | 135 | count: 1
|
114 | 136 | path: tests/Providers/Live/OpenStreetmapAPITest.php
|
115 | 137 |
|
116 | 138 | -
|
117 |
| - message: "#^Parameter \\#1 \\$content of method Psr\\\\Http\\\\Message\\\\StreamFactoryInterface\\:\\:createStream\\(\\) expects string, string\\|false given\\.$#" |
| 139 | + message: ''' |
| 140 | + #^PHPDoc tag @property for \$provider references deprecated class chillerlan\\OAuth\\Providers\\OpenStreetmap\: |
| 141 | + https\://github\.com/openstreetmap/operations/issues/867$# |
| 142 | + ''' |
| 143 | + identifier: propertyTag.deprecatedClass |
| 144 | + count: 1 |
| 145 | + path: tests/Providers/Live/OpenStreetmapAPITest.php |
| 146 | + |
| 147 | + - |
| 148 | + message: '#^Parameter \#1 \$content of method Psr\\Http\\Message\\StreamFactoryInterface\:\:createStream\(\) expects string, string\|false given\.$#' |
| 149 | + identifier: argument.type |
118 | 150 | count: 2
|
119 | 151 | path: tests/Providers/Unit/OAuth2ProviderUnitTestAbstract.php
|
120 | 152 |
|
121 | 153 | -
|
122 |
| - message: "#^Parameter \\#1 \\$expected of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) expects class\\-string\\<object\\>, string given\\.$#" |
| 154 | + message: '#^Parameter \#1 \$expected of static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) expects class\-string\<object\>, string given\.$#' |
| 155 | + identifier: argument.type |
123 | 156 | count: 1
|
124 | 157 | path: tests/Providers/Unit/OAuthProviderUnitTestAbstract.php
|
125 | 158 |
|
126 | 159 | -
|
127 |
| - message: """ |
128 |
| - #^Fetching class constant class of deprecated class chillerlan\\\\OAuth\\\\Providers\\\\OpenStreetmap\\: |
129 |
| - https\\://github\\.com/openstreetmap/operations/issues/867$# |
130 |
| - """ |
| 160 | + message: ''' |
| 161 | + #^PHPDoc tag @property for \$provider references deprecated class chillerlan\\OAuth\\Providers\\OpenStreetmap\: |
| 162 | + https\://github\.com/openstreetmap/operations/issues/867$# |
| 163 | + ''' |
| 164 | + identifier: propertyTag.deprecatedClass |
| 165 | + count: 1 |
| 166 | + path: tests/Providers/Unit/OpenStreetmap2Test.php |
| 167 | + |
| 168 | + - |
| 169 | + message: ''' |
| 170 | + #^Access to constant on deprecated class chillerlan\\OAuth\\Providers\\OpenStreetmap\: |
| 171 | + https\://github\.com/openstreetmap/operations/issues/867$# |
| 172 | + ''' |
| 173 | + identifier: classConstant.deprecatedClass |
| 174 | + count: 1 |
| 175 | + path: tests/Providers/Unit/OpenStreetmapTest.php |
| 176 | + |
| 177 | + - |
| 178 | + message: ''' |
| 179 | + #^PHPDoc tag @property for \$provider references deprecated class chillerlan\\OAuth\\Providers\\OpenStreetmap\: |
| 180 | + https\://github\.com/openstreetmap/operations/issues/867$# |
| 181 | + ''' |
| 182 | + identifier: propertyTag.deprecatedClass |
131 | 183 | count: 1
|
132 | 184 | path: tests/Providers/Unit/OpenStreetmapTest.php
|
0 commit comments