|
446 | 446 | 'count' => 1, |
447 | 447 | 'path' => __DIR__ . '/system/CLI/CLI.php', |
448 | 448 | ]; |
449 | | -$ignoreErrors[] = [ |
450 | | - 'message' => '#^Only booleans are allowed in a negated boolean, array given\\.$#', |
451 | | - 'count' => 1, |
452 | | - 'path' => __DIR__ . '/system/CLI/CLI.php', |
453 | | -]; |
454 | | -$ignoreErrors[] = [ |
455 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, string given\\.$#', |
456 | | - 'count' => 1, |
457 | | - 'path' => __DIR__ . '/system/CLI/CLI.php', |
458 | | -]; |
459 | 449 | $ignoreErrors[] = [ |
460 | 450 | 'message' => '#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#', |
461 | 451 | 'count' => 1, |
|
766 | 756 | 'count' => 1, |
767 | 757 | 'path' => __DIR__ . '/system/Commands/Database/MigrateStatus.php', |
768 | 758 | ]; |
769 | | -$ignoreErrors[] = [ |
770 | | - 'message' => '#^Only booleans are allowed in a negated boolean, array\\<int\\<0, max\\>, array\\<int, mixed\\>\\> given\\.$#', |
771 | | - 'count' => 1, |
772 | | - 'path' => __DIR__ . '/system/Commands/Database/MigrateStatus.php', |
773 | | -]; |
774 | 759 | $ignoreErrors[] = [ |
775 | 760 | 'message' => '#^Parameter \\#1 \\$params \\(array\\<string, mixed\\>\\) of method CodeIgniter\\\\Commands\\\\Database\\\\MigrateStatus\\:\\:run\\(\\) should be contravariant with parameter \\$params \\(array\\<int\\|string, string\\|null\\>\\) of method CodeIgniter\\\\CLI\\\\BaseCommand\\:\\:run\\(\\)$#', |
776 | 761 | 'count' => 1, |
|
2131 | 2116 | 'count' => 1, |
2132 | 2117 | 'path' => __DIR__ . '/system/Config/DotEnv.php', |
2133 | 2118 | ]; |
2134 | | -$ignoreErrors[] = [ |
2135 | | - 'message' => '#^Only booleans are allowed in a negated boolean, string given\\.$#', |
2136 | | - 'count' => 1, |
2137 | | - 'path' => __DIR__ . '/system/Config/DotEnv.php', |
2138 | | -]; |
2139 | 2119 | $ignoreErrors[] = [ |
2140 | 2120 | 'message' => '#^Method CodeIgniter\\\\Config\\\\Factories\\:\\:__callStatic\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#', |
2141 | 2121 | 'count' => 1, |
|
2286 | 2266 | 'count' => 1, |
2287 | 2267 | 'path' => __DIR__ . '/system/Controller.php', |
2288 | 2268 | ]; |
2289 | | -$ignoreErrors[] = [ |
2290 | | - 'message' => '#^Only booleans are allowed in a negated boolean, array given\\.$#', |
2291 | | - 'count' => 1, |
2292 | | - 'path' => __DIR__ . '/system/Controller.php', |
2293 | | -]; |
2294 | 2269 | $ignoreErrors[] = [ |
2295 | 2270 | 'message' => '#^Property CodeIgniter\\\\Controller\\:\\:\\$request \\(CodeIgniter\\\\HTTP\\\\CLIRequest\\|CodeIgniter\\\\HTTP\\\\IncomingRequest\\) does not accept CodeIgniter\\\\HTTP\\\\RequestInterface\\.$#', |
2296 | 2271 | 'count' => 1, |
|
3731 | 3706 | 'count' => 1, |
3732 | 3707 | 'path' => __DIR__ . '/system/Database/OCI8/Builder.php', |
3733 | 3708 | ]; |
3734 | | -$ignoreErrors[] = [ |
3735 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int given\\.$#', |
3736 | | - 'count' => 1, |
3737 | | - 'path' => __DIR__ . '/system/Database/OCI8/Builder.php', |
3738 | | -]; |
3739 | 3709 | $ignoreErrors[] = [ |
3740 | 3710 | 'message' => '#^PHPDoc type CodeIgniter\\\\Database\\\\OCI8\\\\Connection of property CodeIgniter\\\\Database\\\\OCI8\\\\Builder\\:\\:\\$db is not the same as PHPDoc type CodeIgniter\\\\Database\\\\BaseConnection of overridden property CodeIgniter\\\\Database\\\\BaseBuilder\\:\\:\\$db\\.$#', |
3741 | 3711 | 'count' => 1, |
|
6216 | 6186 | 'count' => 1, |
6217 | 6187 | 'path' => __DIR__ . '/system/HTTP/DownloadResponse.php', |
6218 | 6188 | ]; |
6219 | | -$ignoreErrors[] = [ |
6220 | | - 'message' => '#^Only booleans are allowed in an if condition, string given\\.$#', |
6221 | | - 'count' => 1, |
6222 | | - 'path' => __DIR__ . '/system/HTTP/DownloadResponse.php', |
6223 | | -]; |
6224 | 6189 | $ignoreErrors[] = [ |
6225 | 6190 | 'message' => '#^Return type \\(CodeIgniter\\\\HTTP\\\\DownloadResponse\\) of method CodeIgniter\\\\HTTP\\\\DownloadResponse\\:\\:sendBody\\(\\) should be covariant with return type \\(\\$this\\(CodeIgniter\\\\HTTP\\\\Response\\)\\) of method CodeIgniter\\\\HTTP\\\\Response\\:\\:sendBody\\(\\)$#', |
6226 | 6191 | 'count' => 1, |
|
7116 | 7081 | 'count' => 1, |
7117 | 7082 | 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7118 | 7083 | ]; |
7119 | | -$ignoreErrors[] = [ |
7120 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 1024\\> given\\.$#', |
7121 | | - 'count' => 2, |
7122 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7123 | | -]; |
7124 | | -$ignoreErrors[] = [ |
7125 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 128\\> given\\.$#', |
7126 | | - 'count' => 1, |
7127 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7128 | | -]; |
7129 | | -$ignoreErrors[] = [ |
7130 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 16\\> given\\.$#', |
7131 | | - 'count' => 1, |
7132 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7133 | | -]; |
7134 | | -$ignoreErrors[] = [ |
7135 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 1\\> given\\.$#', |
7136 | | - 'count' => 1, |
7137 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7138 | | -]; |
7139 | | -$ignoreErrors[] = [ |
7140 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 2048\\> given\\.$#', |
7141 | | - 'count' => 2, |
7142 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7143 | | -]; |
7144 | | -$ignoreErrors[] = [ |
7145 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 256\\> given\\.$#', |
7146 | | - 'count' => 1, |
7147 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7148 | | -]; |
7149 | | -$ignoreErrors[] = [ |
7150 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 2\\> given\\.$#', |
7151 | | - 'count' => 1, |
7152 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7153 | | -]; |
7154 | | -$ignoreErrors[] = [ |
7155 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 32\\> given\\.$#', |
7156 | | - 'count' => 1, |
7157 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7158 | | -]; |
7159 | | -$ignoreErrors[] = [ |
7160 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 4\\> given\\.$#', |
7161 | | - 'count' => 1, |
7162 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7163 | | -]; |
7164 | | -$ignoreErrors[] = [ |
7165 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 512\\> given\\.$#', |
7166 | | - 'count' => 2, |
7167 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7168 | | -]; |
7169 | | -$ignoreErrors[] = [ |
7170 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 64\\> given\\.$#', |
7171 | | - 'count' => 1, |
7172 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7173 | | -]; |
7174 | | -$ignoreErrors[] = [ |
7175 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\<0, 8\\> given\\.$#', |
7176 | | - 'count' => 1, |
7177 | | - 'path' => __DIR__ . '/system/Helpers/filesystem_helper.php', |
7178 | | -]; |
7179 | 7084 | $ignoreErrors[] = [ |
7180 | 7085 | 'message' => '#^Right side of && is always true\\.$#', |
7181 | 7086 | 'count' => 1, |
|
7386 | 7291 | 'count' => 1, |
7387 | 7292 | 'path' => __DIR__ . '/system/Helpers/form_helper.php', |
7388 | 7293 | ]; |
7389 | | -$ignoreErrors[] = [ |
7390 | | - 'message' => '#^Only booleans are allowed in a negated boolean, string given\\.$#', |
7391 | | - 'count' => 1, |
7392 | | - 'path' => __DIR__ . '/system/Helpers/form_helper.php', |
7393 | | -]; |
7394 | 7294 | $ignoreErrors[] = [ |
7395 | 7295 | 'message' => '#^Function _list\\(\\) has parameter \\$attributes with no value type specified in iterable type array\\.$#', |
7396 | 7296 | 'count' => 1, |
|
7471 | 7371 | 'count' => 1, |
7472 | 7372 | 'path' => __DIR__ . '/system/Helpers/html_helper.php', |
7473 | 7373 | ]; |
7474 | | -$ignoreErrors[] = [ |
7475 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, string given\\.$#', |
7476 | | - 'count' => 1, |
7477 | | - 'path' => __DIR__ . '/system/Helpers/html_helper.php', |
7478 | | -]; |
7479 | 7374 | $ignoreErrors[] = [ |
7480 | 7375 | 'message' => '#^Function d\\(\\) has parameter \\$vars with no value type specified in iterable type array\\.$#', |
7481 | 7376 | 'count' => 1, |
|
7576 | 7471 | 'count' => 1, |
7577 | 7472 | 'path' => __DIR__ . '/system/Helpers/url_helper.php', |
7578 | 7473 | ]; |
7579 | | -$ignoreErrors[] = [ |
7580 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, string given\\.$#', |
7581 | | - 'count' => 1, |
7582 | | - 'path' => __DIR__ . '/system/Helpers/url_helper.php', |
7583 | | -]; |
7584 | 7474 | $ignoreErrors[] = [ |
7585 | 7475 | 'message' => '#^Variable \\$atts might not be defined\\.$#', |
7586 | 7476 | 'count' => 1, |
|
8386 | 8276 | 'count' => 1, |
8387 | 8277 | 'path' => __DIR__ . '/system/Router/RouteCollection.php', |
8388 | 8278 | ]; |
8389 | | -$ignoreErrors[] = [ |
8390 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, string given\\.$#', |
8391 | | - 'count' => 1, |
8392 | | - 'path' => __DIR__ . '/system/Router/RouteCollection.php', |
8393 | | -]; |
8394 | 8279 | $ignoreErrors[] = [ |
8395 | 8280 | 'message' => '#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#', |
8396 | 8281 | 'count' => 1, |
|
8641 | 8526 | 'count' => 1, |
8642 | 8527 | 'path' => __DIR__ . '/system/Session/Handlers/FileHandler.php', |
8643 | 8528 | ]; |
8644 | | -$ignoreErrors[] = [ |
8645 | | - 'message' => '#^Only booleans are allowed in a negated boolean, string given\\.$#', |
8646 | | - 'count' => 1, |
8647 | | - 'path' => __DIR__ . '/system/Session/Handlers/FileHandler.php', |
8648 | | -]; |
8649 | 8529 | $ignoreErrors[] = [ |
8650 | 8530 | 'message' => '#^PHPDoc type string of property CodeIgniter\\\\Session\\\\Handlers\\\\FileHandler\\:\\:\\$savePath is not the same as PHPDoc type array\\|string of overridden property CodeIgniter\\\\Session\\\\Handlers\\\\BaseHandler\\:\\:\\$savePath\\.$#', |
8651 | 8531 | 'count' => 1, |
|
10606 | 10486 | 'count' => 1, |
10607 | 10487 | 'path' => __DIR__ . '/system/View/Table.php', |
10608 | 10488 | ]; |
10609 | | -$ignoreErrors[] = [ |
10610 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, float given\\.$#', |
10611 | | - 'count' => 1, |
10612 | | - 'path' => __DIR__ . '/system/View/Table.php', |
10613 | | -]; |
10614 | 10489 | $ignoreErrors[] = [ |
10615 | 10490 | 'message' => '#^Only booleans are allowed in an if condition, string\\|null given\\.$#', |
10616 | 10491 | 'count' => 1, |
|
12036 | 11911 | 'count' => 1, |
12037 | 11912 | 'path' => __DIR__ . '/tests/system/Cache/ResponseCacheTest.php', |
12038 | 11913 | ]; |
12039 | | -$ignoreErrors[] = [ |
12040 | | - 'message' => '#^Only booleans are allowed in a ternary operator condition, array given\\.$#', |
12041 | | - 'count' => 1, |
12042 | | - 'path' => __DIR__ . '/tests/system/Cache/ResponseCacheTest.php', |
12043 | | -]; |
12044 | 11914 | $ignoreErrors[] = [ |
12045 | 11915 | 'message' => '#^Re\\-assigning arrays to \\$_GET directly is discouraged\\.$#', |
12046 | 11916 | 'count' => 3, |
|
0 commit comments