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