|
16 | 16 | 'count' => 1, |
17 | 17 | 'path' => __DIR__ . '/system/Autoloader/Autoloader.php', |
18 | 18 | ]; |
19 | | -$ignoreErrors[] = [ |
20 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
21 | | - 'count' => 3, |
22 | | - 'path' => __DIR__ . '/system/Autoloader/FileLocator.php', |
23 | | -]; |
24 | 19 | $ignoreErrors[] = [ |
25 | 20 | 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\|string given\\.$#', |
26 | 21 | 'count' => 1, |
|
31 | 26 | 'count' => 6, |
32 | 27 | 'path' => __DIR__ . '/system/Autoloader/FileLocator.php', |
33 | 28 | ]; |
34 | | -$ignoreErrors[] = [ |
35 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
36 | | - 'count' => 8, |
37 | | - 'path' => __DIR__ . '/system/BaseModel.php', |
38 | | -]; |
39 | 29 | $ignoreErrors[] = [ |
40 | 30 | 'message' => '#^Method CodeIgniter\\\\BaseModel\\:\\:chunk\\(\\) has parameter \\$userFunc with no signature specified for Closure\\.$#', |
41 | 31 | 'count' => 1, |
|
161 | 151 | 'count' => 1, |
162 | 152 | 'path' => __DIR__ . '/system/Cache/Handlers/PredisHandler.php', |
163 | 153 | ]; |
164 | | -$ignoreErrors[] = [ |
165 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
166 | | - 'count' => 6, |
167 | | - 'path' => __DIR__ . '/system/CodeIgniter.php', |
168 | | -]; |
169 | 154 | $ignoreErrors[] = [ |
170 | 155 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
171 | 156 | 'count' => 1, |
|
1721 | 1706 | 'count' => 1, |
1722 | 1707 | 'path' => __DIR__ . '/system/Debug/BaseExceptionHandler.php', |
1723 | 1708 | ]; |
1724 | | -$ignoreErrors[] = [ |
1725 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
1726 | | - 'count' => 1, |
1727 | | - 'path' => __DIR__ . '/system/Debug/ExceptionHandler.php', |
1728 | | -]; |
1729 | | -$ignoreErrors[] = [ |
1730 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
1731 | | - 'count' => 1, |
1732 | | - 'path' => __DIR__ . '/system/Debug/Exceptions.php', |
1733 | | -]; |
1734 | 1709 | $ignoreErrors[] = [ |
1735 | 1710 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
1736 | 1711 | 'count' => 5, |
|
2546 | 2521 | 'count' => 1, |
2547 | 2522 | 'path' => __DIR__ . '/system/RESTful/BaseResource.php', |
2548 | 2523 | ]; |
2549 | | -$ignoreErrors[] = [ |
2550 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
2551 | | - 'count' => 1, |
2552 | | - 'path' => __DIR__ . '/system/RESTful/ResourceController.php', |
2553 | | -]; |
2554 | 2524 | $ignoreErrors[] = [ |
2555 | 2525 | 'message' => '#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#', |
2556 | 2526 | 'count' => 1, |
|
3041 | 3011 | 'count' => 1, |
3042 | 3012 | 'path' => __DIR__ . '/system/Session/SessionInterface.php', |
3043 | 3013 | ]; |
3044 | | -$ignoreErrors[] = [ |
3045 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3046 | | - 'count' => 4, |
3047 | | - 'path' => __DIR__ . '/system/Test/CIDatabaseTestCase.php', |
3048 | | -]; |
3049 | 3014 | $ignoreErrors[] = [ |
3050 | 3015 | 'message' => '#^Method CodeIgniter\\\\Test\\\\CIDatabaseTestCase\\:\\:clearInsertCache\\(\\) has no return type specified\\.$#', |
3051 | 3016 | 'count' => 1, |
|
3218 | 3183 | ]; |
3219 | 3184 | $ignoreErrors[] = [ |
3220 | 3185 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3221 | | - 'count' => 5, |
| 3186 | + 'count' => 1, |
3222 | 3187 | 'path' => __DIR__ . '/system/Test/FeatureTestCase.php', |
3223 | 3188 | ]; |
3224 | 3189 | $ignoreErrors[] = [ |
|
3501 | 3466 | 'count' => 1, |
3502 | 3467 | 'path' => __DIR__ . '/system/Test/Mock/MockResourceController.php', |
3503 | 3468 | ]; |
3504 | | -$ignoreErrors[] = [ |
3505 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3506 | | - 'count' => 1, |
3507 | | - 'path' => __DIR__ . '/system/Test/Mock/MockResourcePresenter.php', |
3508 | | -]; |
3509 | 3469 | $ignoreErrors[] = [ |
3510 | 3470 | 'message' => '#^Method CodeIgniter\\\\Test\\\\Mock\\\\MockResourcePresenter\\:\\:getFormat\\(\\) has no return type specified\\.$#', |
3511 | 3471 | 'count' => 1, |
|
3626 | 3586 | 'count' => 1, |
3627 | 3587 | 'path' => __DIR__ . '/system/Test/TestLogger.php', |
3628 | 3588 | ]; |
3629 | | -$ignoreErrors[] = [ |
3630 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3631 | | - 'count' => 1, |
3632 | | - 'path' => __DIR__ . '/system/Test/TestResponse.php', |
3633 | | -]; |
3634 | 3589 | $ignoreErrors[] = [ |
3635 | 3590 | 'message' => '#^Method CodeIgniter\\\\Test\\\\TestResponse\\:\\:__call\\(\\) should return mixed but return statement is missing\\.$#', |
3636 | 3591 | 'count' => 1, |
|
3746 | 3701 | 'count' => 1, |
3747 | 3702 | 'path' => __DIR__ . '/system/Throttle/Throttler.php', |
3748 | 3703 | ]; |
3749 | | -$ignoreErrors[] = [ |
3750 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3751 | | - 'count' => 1, |
3752 | | - 'path' => __DIR__ . '/system/Validation/CreditCardRules.php', |
3753 | | -]; |
3754 | 3704 | $ignoreErrors[] = [ |
3755 | 3705 | 'message' => '#^Only booleans are allowed in a negated boolean, array\\|null given\\.$#', |
3756 | 3706 | 'count' => 6, |
3757 | 3707 | 'path' => __DIR__ . '/system/Validation/FileRules.php', |
3758 | 3708 | ]; |
3759 | | -$ignoreErrors[] = [ |
3760 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3761 | | - 'count' => 8, |
3762 | | - 'path' => __DIR__ . '/system/Validation/Rules.php', |
3763 | | -]; |
3764 | | -$ignoreErrors[] = [ |
3765 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3766 | | - 'count' => 4, |
3767 | | - 'path' => __DIR__ . '/system/Validation/StrictRules/Rules.php', |
3768 | | -]; |
3769 | | -$ignoreErrors[] = [ |
3770 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3771 | | - 'count' => 3, |
3772 | | - 'path' => __DIR__ . '/system/Validation/Validation.php', |
3773 | | -]; |
3774 | 3709 | $ignoreErrors[] = [ |
3775 | 3710 | 'message' => '#^Method CodeIgniter\\\\Validation\\\\Validation\\:\\:isClosure\\(\\) has parameter \\$rule with no signature specified for Closure\\.$#', |
3776 | 3711 | 'count' => 1, |
|
3781 | 3716 | 'count' => 2, |
3782 | 3717 | 'path' => __DIR__ . '/system/Validation/Validation.php', |
3783 | 3718 | ]; |
3784 | | -$ignoreErrors[] = [ |
3785 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3786 | | - 'count' => 1, |
3787 | | - 'path' => __DIR__ . '/system/Validation/Views/list.php', |
3788 | | -]; |
3789 | 3719 | $ignoreErrors[] = [ |
3790 | 3720 | 'message' => '#^Call to an undefined static method CodeIgniter\\\\Config\\\\Factories\\:\\:cells\\(\\)\\.$#', |
3791 | 3721 | 'count' => 1, |
3792 | 3722 | 'path' => __DIR__ . '/system/View/Cell.php', |
3793 | 3723 | ]; |
3794 | | -$ignoreErrors[] = [ |
3795 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3796 | | - 'count' => 1, |
3797 | | - 'path' => __DIR__ . '/system/View/Filters.php', |
3798 | | -]; |
3799 | | -$ignoreErrors[] = [ |
3800 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3801 | | - 'count' => 4, |
3802 | | - 'path' => __DIR__ . '/system/View/Parser.php', |
3803 | | -]; |
3804 | 3724 | $ignoreErrors[] = [ |
3805 | 3725 | 'message' => '#^Method CodeIgniter\\\\View\\\\Parser\\:\\:addPlugin\\(\\) has parameter \\$callback with no signature specified for callable\\.$#', |
3806 | 3726 | 'count' => 1, |
3807 | 3727 | 'path' => __DIR__ . '/system/View/Parser.php', |
3808 | 3728 | ]; |
3809 | | -$ignoreErrors[] = [ |
3810 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3811 | | - 'count' => 7, |
3812 | | - 'path' => __DIR__ . '/system/View/Table.php', |
3813 | | -]; |
3814 | 3729 | $ignoreErrors[] = [ |
3815 | 3730 | 'message' => '#^Only booleans are allowed in a ternary operator condition, float given\\.$#', |
3816 | 3731 | 'count' => 1, |
|
3826 | 3741 | 'count' => 1, |
3827 | 3742 | 'path' => __DIR__ . '/system/View/Table.php', |
3828 | 3743 | ]; |
3829 | | -$ignoreErrors[] = [ |
3830 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3831 | | - 'count' => 3, |
3832 | | - 'path' => __DIR__ . '/system/View/View.php', |
3833 | | -]; |
3834 | 3744 | $ignoreErrors[] = [ |
3835 | 3745 | 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#', |
3836 | 3746 | 'count' => 2, |
|
0 commit comments