|
1 | | -<?php |
2 | | - |
3 | | -declare(strict_types=1); |
| 1 | +<?php declare(strict_types = 1); |
4 | 2 |
|
5 | 3 | $ignoreErrors = []; |
6 | 4 | $ignoreErrors[] = [ |
7 | 5 | // identifier: argument.type |
8 | 6 | 'message' => '#^Parameter \\#1 \\$name of method Geocoder\\\\ProviderAggregator\\:\\:using\\(\\) expects string, mixed given\\.$#', |
9 | 7 | 'count' => 1, |
10 | | - 'path' => __DIR__.'/src/Command/GeocodeCommand.php', |
| 8 | + 'path' => __DIR__ . '/src/Command/GeocodeCommand.php', |
11 | 9 | ]; |
12 | 10 | $ignoreErrors[] = [ |
13 | 11 | // identifier: argument.type |
14 | 12 | 'message' => '#^Parameter \\#1 \\$string of function strtolower expects string, string\\|null given\\.$#', |
15 | 13 | 'count' => 1, |
16 | | - 'path' => __DIR__.'/src/Command/GeocodeCommand.php', |
| 14 | + 'path' => __DIR__ . '/src/Command/GeocodeCommand.php', |
17 | 15 | ]; |
18 | 16 | $ignoreErrors[] = [ |
19 | 17 | // identifier: argument.type |
20 | 18 | 'message' => '#^Parameter \\#1 \\$text of static method Geocoder\\\\Query\\\\GeocodeQuery\\:\\:create\\(\\) expects string, mixed given\\.$#', |
21 | 19 | 'count' => 1, |
22 | | - 'path' => __DIR__.'/src/Command/GeocodeCommand.php', |
| 20 | + 'path' => __DIR__ . '/src/Command/GeocodeCommand.php', |
| 21 | +]; |
| 22 | +$ignoreErrors[] = [ |
| 23 | + // identifier: argument.type |
| 24 | + 'message' => '#^Parameter \\#3 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#', |
| 25 | + 'count' => 1, |
| 26 | + 'path' => __DIR__ . '/src/Command/GeocodeCommand.php', |
23 | 27 | ]; |
24 | 28 | $ignoreErrors[] = [ |
25 | 29 | // identifier: foreach.nonIterable |
26 | 30 | 'message' => '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#', |
27 | 31 | 'count' => 3, |
28 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 32 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
29 | 33 | ]; |
30 | 34 | $ignoreErrors[] = [ |
31 | 35 | // identifier: offsetAccess.nonOffsetAccessible |
32 | 36 | 'message' => '#^Cannot access offset \'aliases\' on mixed\\.$#', |
33 | 37 | 'count' => 1, |
34 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 38 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
35 | 39 | ]; |
36 | 40 | $ignoreErrors[] = [ |
37 | 41 | // identifier: offsetAccess.nonOffsetAccessible |
38 | 42 | 'message' => '#^Cannot access offset \'enabled\' on mixed\\.$#', |
39 | 43 | 'count' => 1, |
40 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 44 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
41 | 45 | ]; |
42 | 46 | $ignoreErrors[] = [ |
43 | 47 | // identifier: offsetAccess.nonOffsetAccessible |
44 | 48 | 'message' => '#^Cannot access offset \'factory\' on mixed\\.$#', |
45 | 49 | 'count' => 5, |
46 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 50 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
47 | 51 | ]; |
48 | 52 | $ignoreErrors[] = [ |
49 | 53 | // identifier: offsetAccess.nonOffsetAccessible |
50 | 54 | 'message' => '#^Cannot access offset \'id\' on mixed\\.$#', |
51 | 55 | 'count' => 1, |
52 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 56 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
53 | 57 | ]; |
54 | 58 | $ignoreErrors[] = [ |
55 | 59 | // identifier: offsetAccess.nonOffsetAccessible |
56 | 60 | 'message' => '#^Cannot access offset \'options\' on mixed\\.$#', |
57 | 61 | 'count' => 4, |
58 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 62 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
59 | 63 | ]; |
60 | 64 | $ignoreErrors[] = [ |
61 | 65 | // identifier: offsetAccess.nonOffsetAccessible |
62 | 66 | 'message' => '#^Cannot access offset \'reference\' on mixed\\.$#', |
63 | 67 | 'count' => 2, |
64 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 68 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
65 | 69 | ]; |
66 | 70 | $ignoreErrors[] = [ |
67 | 71 | // identifier: staticMethod.nonObject |
68 | 72 | 'message' => '#^Cannot call static method validate\\(\\) on mixed\\.$#', |
69 | 73 | 'count' => 1, |
70 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 74 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
71 | 75 | ]; |
72 | 76 | $ignoreErrors[] = [ |
73 | 77 | // identifier: cast.string |
74 | 78 | 'message' => '#^Cannot cast mixed to string\\.$#', |
75 | 79 | 'count' => 1, |
76 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 80 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
77 | 81 | ]; |
78 | 82 | $ignoreErrors[] = [ |
79 | 83 | // identifier: argument.type |
80 | 84 | 'message' => '#^Parameter \\#1 \\$alias of method Symfony\\\\Component\\\\DependencyInjection\\\\ContainerBuilder\\:\\:setAlias\\(\\) expects string, mixed given\\.$#', |
81 | 85 | 'count' => 1, |
82 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 86 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
83 | 87 | ]; |
84 | 88 | $ignoreErrors[] = [ |
85 | 89 | // identifier: argument.type |
86 | 90 | 'message' => '#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: Symfony\\\\Component\\\\DependencyInjection\\\\Reference given\\.$#', |
87 | 91 | 'count' => 1, |
88 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 92 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
89 | 93 | ]; |
90 | 94 | $ignoreErrors[] = [ |
91 | 95 | // identifier: argument.type |
92 | 96 | 'message' => '#^Parameter \\#1 \\$factoryServiceId of static method Bazinga\\\\GeocoderBundle\\\\DependencyInjection\\\\Compiler\\\\FactoryValidatorPass\\:\\:addFactoryServiceId\\(\\) expects string, mixed given\\.$#', |
93 | 97 | 'count' => 1, |
94 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 98 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
95 | 99 | ]; |
96 | 100 | $ignoreErrors[] = [ |
97 | 101 | // identifier: argument.type |
98 | 102 | 'message' => '#^Parameter \\#1 \\$id of class Symfony\\\\Component\\\\DependencyInjection\\\\Reference constructor expects string, mixed given\\.$#', |
99 | 103 | 'count' => 1, |
100 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 104 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
101 | 105 | ]; |
102 | 106 | $ignoreErrors[] = [ |
103 | 107 | // identifier: argument.type |
104 | 108 | 'message' => '#^Parameter \\#1 \\$id of method Symfony\\\\Component\\\\DependencyInjection\\\\ContainerBuilder\\:\\:getDefinition\\(\\) expects string, mixed given\\.$#', |
105 | 109 | 'count' => 1, |
106 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 110 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
107 | 111 | ]; |
108 | 112 | $ignoreErrors[] = [ |
109 | 113 | // identifier: argument.type |
110 | 114 | 'message' => '#^Parameter \\#1 \\$object_or_class of function class_implements expects object\\|string, mixed given\\.$#', |
111 | 115 | 'count' => 1, |
112 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 116 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
113 | 117 | ]; |
114 | 118 | $ignoreErrors[] = [ |
115 | 119 | // identifier: argument.type |
116 | 120 | 'message' => '#^Parameter \\#1 \\$options of method Bazinga\\\\GeocoderBundle\\\\DependencyInjection\\\\BazingaGeocoderExtension\\:\\:findReferences\\(\\) expects array\\<int\\|string, mixed\\>, mixed given\\.$#', |
117 | 121 | 'count' => 2, |
118 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 122 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
119 | 123 | ]; |
120 | 124 | $ignoreErrors[] = [ |
121 | 125 | // identifier: argument.type |
122 | 126 | 'message' => '#^Parameter \\#1 \\$string of function ltrim expects string, mixed given\\.$#', |
123 | 127 | 'count' => 1, |
124 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 128 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
125 | 129 | ]; |
126 | 130 | $ignoreErrors[] = [ |
127 | 131 | // identifier: argument.type |
128 | 132 | 'message' => '#^Parameter \\#2 \\$config of method Bazinga\\\\GeocoderBundle\\\\DependencyInjection\\\\BazingaGeocoderExtension\\:\\:configureProviderPlugins\\(\\) expects array\\<int\\|string, mixed\\>, mixed given\\.$#', |
129 | 133 | 'count' => 1, |
130 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 134 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
131 | 135 | ]; |
132 | 136 | $ignoreErrors[] = [ |
133 | 137 | // identifier: argument.type |
134 | 138 | 'message' => '#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#', |
135 | 139 | 'count' => 1, |
136 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 140 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
137 | 141 | ]; |
138 | 142 | $ignoreErrors[] = [ |
139 | 143 | // identifier: encapsedStringPart.nonString |
140 | 144 | 'message' => '#^Part \\$providerName \\(mixed\\) of encapsed string cannot be cast to string\\.$#', |
141 | 145 | 'count' => 1, |
142 | | - 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 146 | + 'path' => __DIR__ . '/src/DependencyInjection/BazingaGeocoderExtension.php', |
143 | 147 | ]; |
144 | 148 | $ignoreErrors[] = [ |
145 | 149 | // identifier: method.nonObject |
146 | 150 | 'message' => '#^Cannot call method getLatitude\\(\\) on Geocoder\\\\Model\\\\Coordinates\\|null\\.$#', |
147 | 151 | 'count' => 1, |
148 | | - 'path' => __DIR__.'/src/Doctrine/ORM/GeocoderListener.php', |
| 152 | + 'path' => __DIR__ . '/src/Doctrine/ORM/GeocoderListener.php', |
149 | 153 | ]; |
150 | 154 | $ignoreErrors[] = [ |
151 | 155 | // identifier: method.nonObject |
152 | 156 | 'message' => '#^Cannot call method getLongitude\\(\\) on Geocoder\\\\Model\\\\Coordinates\\|null\\.$#', |
153 | 157 | 'count' => 1, |
154 | | - 'path' => __DIR__.'/src/Doctrine/ORM/GeocoderListener.php', |
| 158 | + 'path' => __DIR__ . '/src/Doctrine/ORM/GeocoderListener.php', |
155 | 159 | ]; |
156 | 160 | $ignoreErrors[] = [ |
157 | 161 | // identifier: argument.type |
158 | 162 | 'message' => '#^Parameter \\#1 \\$text of method Geocoder\\\\Query\\\\GeocodeQuery\\:\\:withText\\(\\) expects string, string\\|null given\\.$#', |
159 | 163 | 'count' => 1, |
160 | | - 'path' => __DIR__.'/src/Plugin/FakeIpPlugin.php', |
| 164 | + 'path' => __DIR__ . '/src/Plugin/FakeIpPlugin.php', |
161 | 165 | ]; |
162 | 166 | $ignoreErrors[] = [ |
163 | 167 | // identifier: argument.type |
164 | 168 | 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, string\\|null given\\.$#', |
165 | 169 | 'count' => 1, |
166 | | - 'path' => __DIR__.'/src/Plugin/FakeIpPlugin.php', |
| 170 | + 'path' => __DIR__ . '/src/Plugin/FakeIpPlugin.php', |
167 | 171 | ]; |
168 | 172 | $ignoreErrors[] = [ |
169 | 173 | // identifier: argument.type |
170 | 174 | 'message' => '#^Parameter \\#1 \\$accountId of class GeoIp2\\\\WebService\\\\Client constructor expects int, int\\|null given\\.$#', |
171 | 175 | 'count' => 1, |
172 | | - 'path' => __DIR__.'/src/ProviderFactory/GeoIP2Factory.php', |
| 176 | + 'path' => __DIR__ . '/src/ProviderFactory/GeoIP2Factory.php', |
173 | 177 | ]; |
174 | 178 | $ignoreErrors[] = [ |
175 | 179 | // identifier: argument.type |
176 | 180 | 'message' => '#^Parameter \\#1 \\$filename of class GeoIp2\\\\Database\\\\Reader constructor expects string, string\\|null given\\.$#', |
177 | 181 | 'count' => 1, |
178 | | - 'path' => __DIR__.'/src/ProviderFactory/GeoIP2Factory.php', |
| 182 | + 'path' => __DIR__ . '/src/ProviderFactory/GeoIP2Factory.php', |
179 | 183 | ]; |
180 | 184 | $ignoreErrors[] = [ |
181 | 185 | // identifier: argument.type |
182 | 186 | 'message' => '#^Parameter \\#1 \\$geoIpProvider of class Geocoder\\\\Provider\\\\GeoIP2\\\\GeoIP2Adapter constructor expects GeoIp2\\\\ProviderInterface, GeoIp2\\\\ProviderInterface\\|null given\\.$#', |
183 | 187 | 'count' => 1, |
184 | | - 'path' => __DIR__.'/src/ProviderFactory/GeoIP2Factory.php', |
| 188 | + 'path' => __DIR__ . '/src/ProviderFactory/GeoIP2Factory.php', |
185 | 189 | ]; |
186 | 190 | $ignoreErrors[] = [ |
187 | 191 | // identifier: argument.type |
188 | 192 | 'message' => '#^Parameter \\#2 \\$licenseKey of class GeoIp2\\\\WebService\\\\Client constructor expects string, string\\|null given\\.$#', |
189 | 193 | 'count' => 1, |
190 | | - 'path' => __DIR__.'/src/ProviderFactory/GeoIP2Factory.php', |
191 | | -]; |
192 | | -$ignoreErrors[] = [ |
193 | | - // identifier: class.notFound |
194 | | - 'message' => '#^Class Geocoder\\\\Provider\\\\Geoip\\\\Geoip not found\\.$#', |
195 | | - 'count' => 1, |
196 | | - 'path' => __DIR__.'/src/ProviderFactory/GeoipFactory.php', |
197 | | -]; |
198 | | -$ignoreErrors[] = [ |
199 | | - // identifier: class.notFound |
200 | | - 'message' => '#^Instantiated class Geocoder\\\\Provider\\\\Geoip\\\\Geoip not found\\.$#', |
201 | | - 'count' => 1, |
202 | | - 'path' => __DIR__.'/src/ProviderFactory/GeoipFactory.php', |
203 | | -]; |
204 | | -$ignoreErrors[] = [ |
205 | | - // identifier: return.type |
206 | | - 'message' => '#^Method Bazinga\\\\GeocoderBundle\\\\ProviderFactory\\\\GeoipFactory\\:\\:getProvider\\(\\) should return Geocoder\\\\Provider\\\\Provider but returns Geocoder\\\\Provider\\\\Geoip\\\\Geoip\\.$#', |
207 | | - 'count' => 1, |
208 | | - 'path' => __DIR__.'/src/ProviderFactory/GeoipFactory.php', |
| 194 | + 'path' => __DIR__ . '/src/ProviderFactory/GeoIP2Factory.php', |
209 | 195 | ]; |
210 | 196 |
|
211 | 197 | return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |
0 commit comments