|
1 | 1 | <?php declare(strict_types = 1); |
2 | 2 |
|
3 | 3 | $ignoreErrors = []; |
| 4 | +$ignoreErrors[] = [ |
| 5 | + 'message' => '#^PHPDoc type array of property Config\\\\View\\:\\:\\$filters is not covariant with PHPDoc type array\\<string, callable\\-string\\> of overridden property CodeIgniter\\\\Config\\\\View\\:\\:\\$filters\\.$#', |
| 6 | + 'count' => 1, |
| 7 | + 'path' => __DIR__ . '/app/Config/View.php', |
| 8 | +]; |
| 9 | +$ignoreErrors[] = [ |
| 10 | + 'message' => '#^PHPDoc type array of property Config\\\\View\\:\\:\\$plugins is not covariant with PHPDoc type array\\<string, callable\\-string\\> of overridden property CodeIgniter\\\\Config\\\\View\\:\\:\\$plugins\\.$#', |
| 11 | + 'count' => 1, |
| 12 | + 'path' => __DIR__ . '/app/Config/View.php', |
| 13 | +]; |
| 14 | +$ignoreErrors[] = [ |
| 15 | + 'message' => '#^Parameter \\#1 \\$callback of function spl_autoload_register expects \\(callable\\(string\\)\\: void\\)\\|null, array\\{\\$this\\(CodeIgniter\\\\Autoloader\\\\Autoloader\\), \'loadClass\'\\} given\\.$#', |
| 16 | + 'count' => 1, |
| 17 | + 'path' => __DIR__ . '/system/Autoloader/Autoloader.php', |
| 18 | +]; |
| 19 | +$ignoreErrors[] = [ |
| 20 | + 'message' => '#^Parameter \\#1 \\$callback of function spl_autoload_register expects \\(callable\\(string\\)\\: void\\)\\|null, array\\{\\$this\\(CodeIgniter\\\\Autoloader\\\\Autoloader\\), \'loadClassmap\'\\} given\\.$#', |
| 21 | + 'count' => 1, |
| 22 | + 'path' => __DIR__ . '/system/Autoloader/Autoloader.php', |
| 23 | +]; |
4 | 24 | $ignoreErrors[] = [ |
5 | 25 | 'message' => '#^Method CodeIgniter\\\\BaseModel\\:\\:chunk\\(\\) has parameter \\$userFunc with no signature specified for Closure\\.$#', |
6 | 26 | 'count' => 1, |
|
297 | 317 | 'path' => __DIR__ . '/system/ComposerScripts.php', |
298 | 318 | ]; |
299 | 319 | $ignoreErrors[] = [ |
300 | | - 'message' => '#^Method CodeIgniter\\\\Config\\\\BaseConfig\\:\\:registerProperties\\(\\) has no return type specified\\.$#', |
| 320 | + 'message' => '#^Property CodeIgniter\\\\Config\\\\View\\:\\:\\$coreFilters type has no signature specified for callable\\.$#', |
301 | 321 | 'count' => 1, |
302 | | - 'path' => __DIR__ . '/system/Config/BaseConfig.php', |
303 | | -]; |
304 | | -$ignoreErrors[] = [ |
305 | | - 'message' => '#^Method CodeIgniter\\\\Config\\\\BaseService\\:\\:injectMock\\(\\) has no return type specified\\.$#', |
306 | | - 'count' => 1, |
307 | | - 'path' => __DIR__ . '/system/Config/BaseService.php', |
308 | | -]; |
309 | | -$ignoreErrors[] = [ |
310 | | - 'message' => '#^Method CodeIgniter\\\\Config\\\\BaseService\\:\\:reset\\(\\) has no return type specified\\.$#', |
311 | | - 'count' => 1, |
312 | | - 'path' => __DIR__ . '/system/Config/BaseService.php', |
313 | | -]; |
314 | | -$ignoreErrors[] = [ |
315 | | - 'message' => '#^Method CodeIgniter\\\\Config\\\\BaseService\\:\\:resetSingle\\(\\) has no return type specified\\.$#', |
316 | | - 'count' => 1, |
317 | | - 'path' => __DIR__ . '/system/Config/BaseService.php', |
318 | | -]; |
319 | | -$ignoreErrors[] = [ |
320 | | - 'message' => '#^Method CodeIgniter\\\\Config\\\\Config\\:\\:injectMock\\(\\) has no return type specified\\.$#', |
321 | | - 'count' => 1, |
322 | | - 'path' => __DIR__ . '/system/Config/Config.php', |
323 | | -]; |
324 | | -$ignoreErrors[] = [ |
325 | | - 'message' => '#^Method CodeIgniter\\\\Config\\\\Config\\:\\:reset\\(\\) has no return type specified\\.$#', |
326 | | - 'count' => 1, |
327 | | - 'path' => __DIR__ . '/system/Config/Config.php', |
328 | | -]; |
329 | | -$ignoreErrors[] = [ |
330 | | - 'message' => '#^Method CodeIgniter\\\\Config\\\\DotEnv\\:\\:setVariable\\(\\) has no return type specified\\.$#', |
331 | | - 'count' => 1, |
332 | | - 'path' => __DIR__ . '/system/Config/DotEnv.php', |
333 | | -]; |
334 | | -$ignoreErrors[] = [ |
335 | | - 'message' => '#^Method CodeIgniter\\\\Config\\\\Factories\\:\\:injectMock\\(\\) has no return type specified\\.$#', |
336 | | - 'count' => 1, |
337 | | - 'path' => __DIR__ . '/system/Config/Factories.php', |
338 | | -]; |
339 | | -$ignoreErrors[] = [ |
340 | | - 'message' => '#^Method CodeIgniter\\\\Config\\\\Factories\\:\\:reset\\(\\) has no return type specified\\.$#', |
341 | | - 'count' => 1, |
342 | | - 'path' => __DIR__ . '/system/Config/Factories.php', |
343 | | -]; |
344 | | -$ignoreErrors[] = [ |
345 | | - 'message' => '#^Property CodeIgniter\\\\Config\\\\ForeignCharacters\\:\\:\\$characterList has no type specified\\.$#', |
346 | | - 'count' => 1, |
347 | | - 'path' => __DIR__ . '/system/Config/ForeignCharacters.php', |
| 322 | + 'path' => __DIR__ . '/system/Config/View.php', |
348 | 323 | ]; |
349 | 324 | $ignoreErrors[] = [ |
350 | | - 'message' => '#^Method CodeIgniter\\\\Config\\\\Publisher\\:\\:registerProperties\\(\\) has no return type specified\\.$#', |
| 325 | + 'message' => '#^Property CodeIgniter\\\\Config\\\\View\\:\\:\\$corePlugins type has no signature specified for callable\\.$#', |
351 | 326 | 'count' => 1, |
352 | | - 'path' => __DIR__ . '/system/Config/Publisher.php', |
| 327 | + 'path' => __DIR__ . '/system/Config/View.php', |
353 | 328 | ]; |
354 | 329 | $ignoreErrors[] = [ |
355 | | - 'message' => '#^Property CodeIgniter\\\\Config\\\\View\\:\\:\\$filters has no type specified\\.$#', |
| 330 | + 'message' => '#^Property CodeIgniter\\\\Config\\\\View\\:\\:\\$filters type has no signature specified for callable\\.$#', |
356 | 331 | 'count' => 1, |
357 | 332 | 'path' => __DIR__ . '/system/Config/View.php', |
358 | 333 | ]; |
359 | 334 | $ignoreErrors[] = [ |
360 | | - 'message' => '#^Property CodeIgniter\\\\Config\\\\View\\:\\:\\$plugins has no type specified\\.$#', |
| 335 | + 'message' => '#^Property CodeIgniter\\\\Config\\\\View\\:\\:\\$plugins type has no signature specified for callable\\.$#', |
361 | 336 | 'count' => 1, |
362 | 337 | 'path' => __DIR__ . '/system/Config/View.php', |
363 | 338 | ]; |
|
816 | 791 | 'count' => 2, |
817 | 792 | 'path' => __DIR__ . '/system/Debug/Toolbar/Collectors/Views.php', |
818 | 793 | ]; |
819 | | -$ignoreErrors[] = [ |
820 | | - 'message' => '#^Method CodeIgniter\\\\Email\\\\Email\\:\\:SMTPEnd\\(\\) has no return type specified\\.$#', |
821 | | - 'count' => 1, |
822 | | - 'path' => __DIR__ . '/system/Email/Email.php', |
823 | | -]; |
824 | | -$ignoreErrors[] = [ |
825 | | - 'message' => '#^Method CodeIgniter\\\\Email\\\\Email\\:\\:appendAttachments\\(\\) has no return type specified\\.$#', |
826 | | - 'count' => 1, |
827 | | - 'path' => __DIR__ . '/system/Email/Email.php', |
828 | | -]; |
829 | | -$ignoreErrors[] = [ |
830 | | - 'message' => '#^Method CodeIgniter\\\\Email\\\\Email\\:\\:batchBCCSend\\(\\) has no return type specified\\.$#', |
831 | | - 'count' => 1, |
832 | | - 'path' => __DIR__ . '/system/Email/Email.php', |
833 | | -]; |
834 | | -$ignoreErrors[] = [ |
835 | | - 'message' => '#^Method CodeIgniter\\\\Email\\\\Email\\:\\:buildHeaders\\(\\) has no return type specified\\.$#', |
836 | | - 'count' => 1, |
837 | | - 'path' => __DIR__ . '/system/Email/Email.php', |
838 | | -]; |
839 | | -$ignoreErrors[] = [ |
840 | | - 'message' => '#^Method CodeIgniter\\\\Email\\\\Email\\:\\:buildMessage\\(\\) has no return type specified\\.$#', |
841 | | - 'count' => 1, |
842 | | - 'path' => __DIR__ . '/system/Email/Email.php', |
843 | | -]; |
844 | | -$ignoreErrors[] = [ |
845 | | - 'message' => '#^Method CodeIgniter\\\\Email\\\\Email\\:\\:setErrorMessage\\(\\) has no return type specified\\.$#', |
846 | | - 'count' => 1, |
847 | | - 'path' => __DIR__ . '/system/Email/Email.php', |
848 | | -]; |
849 | | -$ignoreErrors[] = [ |
850 | | - 'message' => '#^Method CodeIgniter\\\\Email\\\\Email\\:\\:unwrapSpecials\\(\\) has no return type specified\\.$#', |
851 | | - 'count' => 1, |
852 | | - 'path' => __DIR__ . '/system/Email/Email.php', |
853 | | -]; |
854 | | -$ignoreErrors[] = [ |
855 | | - 'message' => '#^Method CodeIgniter\\\\Email\\\\Email\\:\\:writeHeaders\\(\\) has no return type specified\\.$#', |
856 | | - 'count' => 1, |
857 | | - 'path' => __DIR__ . '/system/Email/Email.php', |
858 | | -]; |
859 | 794 | $ignoreErrors[] = [ |
860 | 795 | 'message' => '#^Static property CodeIgniter\\\\Email\\\\Email\\:\\:\\$func_overload \\(bool\\) in isset\\(\\) is not nullable\\.$#', |
861 | 796 | 'count' => 1, |
|
1031 | 966 | 'count' => 1, |
1032 | 967 | 'path' => __DIR__ . '/system/Filters/Filters.php', |
1033 | 968 | ]; |
1034 | | -$ignoreErrors[] = [ |
1035 | | - 'message' => '#^Method CodeIgniter\\\\Filters\\\\Filters\\:\\:discoverFilters\\(\\) has no return type specified\\.$#', |
1036 | | - 'count' => 1, |
1037 | | - 'path' => __DIR__ . '/system/Filters/Filters.php', |
1038 | | -]; |
1039 | | -$ignoreErrors[] = [ |
1040 | | - 'message' => '#^Method CodeIgniter\\\\Filters\\\\Filters\\:\\:processAliasesToClass\\(\\) has no return type specified\\.$#', |
1041 | | - 'count' => 1, |
1042 | | - 'path' => __DIR__ . '/system/Filters/Filters.php', |
1043 | | -]; |
1044 | | -$ignoreErrors[] = [ |
1045 | | - 'message' => '#^Method CodeIgniter\\\\Filters\\\\Filters\\:\\:processFilters\\(\\) has no return type specified\\.$#', |
1046 | | - 'count' => 1, |
1047 | | - 'path' => __DIR__ . '/system/Filters/Filters.php', |
1048 | | -]; |
1049 | | -$ignoreErrors[] = [ |
1050 | | - 'message' => '#^Method CodeIgniter\\\\Filters\\\\Filters\\:\\:processGlobals\\(\\) has no return type specified\\.$#', |
1051 | | - 'count' => 1, |
1052 | | - 'path' => __DIR__ . '/system/Filters/Filters.php', |
1053 | | -]; |
1054 | | -$ignoreErrors[] = [ |
1055 | | - 'message' => '#^Method CodeIgniter\\\\Filters\\\\Filters\\:\\:processMethods\\(\\) has no return type specified\\.$#', |
1056 | | - 'count' => 1, |
1057 | | - 'path' => __DIR__ . '/system/Filters/Filters.php', |
1058 | | -]; |
1059 | | -$ignoreErrors[] = [ |
1060 | | - 'message' => '#^Method CodeIgniter\\\\Filters\\\\Filters\\:\\:setResponse\\(\\) has no return type specified\\.$#', |
1061 | | - 'count' => 1, |
1062 | | - 'path' => __DIR__ . '/system/Filters/Filters.php', |
1063 | | -]; |
1064 | 969 | $ignoreErrors[] = [ |
1065 | 970 | 'message' => '#^Method CodeIgniter\\\\Format\\\\XMLFormatter\\:\\:arrayToXML\\(\\) has no return type specified\\.$#', |
1066 | 971 | 'count' => 1, |
|
1226 | 1131 | 'count' => 1, |
1227 | 1132 | 'path' => __DIR__ . '/system/HTTP/UserAgent.php', |
1228 | 1133 | ]; |
1229 | | -$ignoreErrors[] = [ |
1230 | | - 'message' => '#^Function delete_cookie\\(\\) has no return type specified\\.$#', |
1231 | | - 'count' => 1, |
1232 | | - 'path' => __DIR__ . '/system/Helpers/cookie_helper.php', |
1233 | | -]; |
1234 | | -$ignoreErrors[] = [ |
1235 | | - 'message' => '#^Function set_cookie\\(\\) has no return type specified\\.$#', |
1236 | | - 'count' => 1, |
1237 | | - 'path' => __DIR__ . '/system/Helpers/cookie_helper.php', |
1238 | | -]; |
1239 | 1134 | $ignoreErrors[] = [ |
1240 | 1135 | 'message' => '#^Right side of && is always true\\.$#', |
1241 | 1136 | 'count' => 1, |
1242 | 1137 | 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
1243 | 1138 | ]; |
1244 | | -$ignoreErrors[] = [ |
1245 | | - 'message' => '#^Function d\\(\\) has no return type specified\\.$#', |
1246 | | - 'count' => 1, |
1247 | | - 'path' => __DIR__ . '/system/Helpers/kint_helper.php', |
1248 | | -]; |
1249 | | -$ignoreErrors[] = [ |
1250 | | - 'message' => '#^Function d\\(\\) has parameter \\$vars with no type specified\\.$#', |
1251 | | - 'count' => 1, |
1252 | | - 'path' => __DIR__ . '/system/Helpers/kint_helper.php', |
1253 | | -]; |
1254 | | -$ignoreErrors[] = [ |
1255 | | - 'message' => '#^Function dd\\(\\) has no return type specified\\.$#', |
1256 | | - 'count' => 2, |
1257 | | - 'path' => __DIR__ . '/system/Helpers/kint_helper.php', |
1258 | | -]; |
1259 | | -$ignoreErrors[] = [ |
1260 | | - 'message' => '#^Function dd\\(\\) has parameter \\$vars with no type specified\\.$#', |
1261 | | - 'count' => 1, |
1262 | | - 'path' => __DIR__ . '/system/Helpers/kint_helper.php', |
1263 | | -]; |
1264 | | -$ignoreErrors[] = [ |
1265 | | - 'message' => '#^Function trace\\(\\) has no return type specified\\.$#', |
1266 | | - 'count' => 2, |
1267 | | - 'path' => __DIR__ . '/system/Helpers/kint_helper.php', |
1268 | | -]; |
1269 | | -$ignoreErrors[] = [ |
1270 | | - 'message' => '#^Function mock\\(\\) has no return type specified\\.$#', |
1271 | | - 'count' => 1, |
1272 | | - 'path' => __DIR__ . '/system/Helpers/test_helper.php', |
1273 | | -]; |
1274 | 1139 | $ignoreErrors[] = [ |
1275 | 1140 | 'message' => '#^Method CodeIgniter\\\\Honeypot\\\\Exceptions\\\\HoneypotException\\:\\:forNoHiddenValue\\(\\) has no return type specified\\.$#', |
1276 | 1141 | 'count' => 1, |
|
0 commit comments