chore: remove ignoreErrors in app/

This commit is contained in:
kenjis 2024-03-21 11:33:34 +09:00
parent f7144e8726
commit 4dfc0ef3b8
No known key found for this signature in database
GPG Key ID: BD254878922AF198

View File

@ -1,86 +1,6 @@
<?php declare(strict_types = 1);
$ignoreErrors = [];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\ContentSecurityPolicy\\:\\:\\$frameSrc type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/ContentSecurityPolicy.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Database\\:\\:\\$default type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Database.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Database\\:\\:\\$tests type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Database.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Exceptions\\:\\:\\$ignoreCodes type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Exceptions.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Exceptions\\:\\:\\$sensitiveDataInTrace type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Exceptions.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Filters\\:\\:\\$filters type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Filters.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Filters\\:\\:\\$methods type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Filters.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Logger\\:\\:\\$handlers type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Logger.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Logger\\:\\:\\$threshold type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Logger.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Mimes\\:\\:\\$mimes type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Mimes.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Routing\\:\\:\\$moduleRoutes type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Routing.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Routing\\:\\:\\$routeFiles type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Routing.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Toolbar\\:\\:\\$watchedDirectories type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Toolbar.php',
];
$ignoreErrors[] = [
'message' => '#^Property Config\\\\Toolbar\\:\\:\\$watchedExtensions type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Config/Toolbar.php',
];
$ignoreErrors[] = [
'message' => '#^PHPDoc type CodeIgniter\\\\HTTP\\\\CLIRequest\\|CodeIgniter\\\\HTTP\\\\IncomingRequest of property App\\\\Controllers\\\\BaseController\\:\\:\\$request is not the same as PHPDoc type CodeIgniter\\\\HTTP\\\\RequestInterface of overridden property CodeIgniter\\\\Controller\\:\\:\\$request\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Controllers/BaseController.php',
];
$ignoreErrors[] = [
'message' => '#^Property App\\\\Controllers\\\\BaseController\\:\\:\\$helpers type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/app/Controllers/BaseController.php',
];
$ignoreErrors[] = [
'message' => '#^Call to function method_exists\\(\\) with \'Composer\\\\\\\\InstalledVersions\' and \'getAllRawData\' will always evaluate to true\\.$#',
'count' => 1,