|
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, |
|
2466 | 2441 | 'count' => 1, |
2467 | 2442 | 'path' => __DIR__ . '/system/Log/Logger.php', |
2468 | 2443 | ]; |
2469 | | -$ignoreErrors[] = [ |
2470 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
2471 | | - 'count' => 15, |
2472 | | - 'path' => __DIR__ . '/system/Model.php', |
2473 | | -]; |
2474 | 2444 | $ignoreErrors[] = [ |
2475 | 2445 | 'message' => '#^Method CodeIgniter\\\\Model\\:\\:chunk\\(\\) has parameter \\$userFunc with no signature specified for Closure\\.$#', |
2476 | 2446 | 'count' => 1, |
|
2546 | 2516 | 'count' => 1, |
2547 | 2517 | 'path' => __DIR__ . '/system/RESTful/BaseResource.php', |
2548 | 2518 | ]; |
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 | 2519 | $ignoreErrors[] = [ |
2555 | 2520 | 'message' => '#^Only booleans are allowed in a ternary operator condition, string\\|null given\\.$#', |
2556 | 2521 | 'count' => 1, |
|
2886 | 2851 | 'count' => 2, |
2887 | 2852 | 'path' => __DIR__ . '/system/Session/Session.php', |
2888 | 2853 | ]; |
2889 | | -$ignoreErrors[] = [ |
2890 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
2891 | | - 'count' => 9, |
2892 | | - 'path' => __DIR__ . '/system/Session/Session.php', |
2893 | | -]; |
2894 | 2854 | $ignoreErrors[] = [ |
2895 | 2855 | 'message' => '#^Method CodeIgniter\\\\Session\\\\Session\\:\\:configure\\(\\) has no return type specified\\.$#', |
2896 | 2856 | 'count' => 1, |
|
3041 | 3001 | 'count' => 1, |
3042 | 3002 | 'path' => __DIR__ . '/system/Session/SessionInterface.php', |
3043 | 3003 | ]; |
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 | 3004 | $ignoreErrors[] = [ |
3050 | 3005 | 'message' => '#^Method CodeIgniter\\\\Test\\\\CIDatabaseTestCase\\:\\:clearInsertCache\\(\\) has no return type specified\\.$#', |
3051 | 3006 | 'count' => 1, |
|
3171 | 3126 | 'count' => 1, |
3172 | 3127 | 'path' => __DIR__ . '/system/Test/DOMParser.php', |
3173 | 3128 | ]; |
3174 | | -$ignoreErrors[] = [ |
3175 | | - 'message' => '#^Access to an undefined property object\\:\\:\\$createdField\\.$#', |
3176 | | - 'count' => 1, |
3177 | | - 'path' => __DIR__ . '/system/Test/Fabricator.php', |
3178 | | -]; |
3179 | | -$ignoreErrors[] = [ |
3180 | | - 'message' => '#^Access to an undefined property object\\:\\:\\$deletedField\\.$#', |
3181 | | - 'count' => 1, |
3182 | | - 'path' => __DIR__ . '/system/Test/Fabricator.php', |
3183 | | -]; |
3184 | | -$ignoreErrors[] = [ |
3185 | | - 'message' => '#^Access to an undefined property object\\:\\:\\$updatedField\\.$#', |
3186 | | - 'count' => 1, |
3187 | | - 'path' => __DIR__ . '/system/Test/Fabricator.php', |
3188 | | -]; |
3189 | | -$ignoreErrors[] = [ |
3190 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3191 | | - 'count' => 5, |
3192 | | - 'path' => __DIR__ . '/system/Test/Fabricator.php', |
3193 | | -]; |
3194 | 3129 | $ignoreErrors[] = [ |
3195 | 3130 | 'message' => '#^Method CodeIgniter\\\\Test\\\\Fabricator\\:\\:resetCounts\\(\\) has no return type specified\\.$#', |
3196 | 3131 | 'count' => 1, |
|
3211 | 3146 | 'count' => 1, |
3212 | 3147 | 'path' => __DIR__ . '/system/Test/FeatureTestCase.php', |
3213 | 3148 | ]; |
3214 | | -$ignoreErrors[] = [ |
3215 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3216 | | - 'count' => 5, |
3217 | | - 'path' => __DIR__ . '/system/Test/FeatureTestCase.php', |
3218 | | -]; |
3219 | 3149 | $ignoreErrors[] = [ |
3220 | 3150 | 'message' => '#^Method CodeIgniter\\\\Test\\\\FeatureTestCase\\:\\:clearInsertCache\\(\\) has no return type specified\\.$#', |
3221 | 3151 | 'count' => 1, |
|
3341 | 3271 | 'count' => 1, |
3342 | 3272 | 'path' => __DIR__ . '/system/Test/Mock/MockCURLRequest.php', |
3343 | 3273 | ]; |
3344 | | -$ignoreErrors[] = [ |
3345 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3346 | | - 'count' => 3, |
3347 | | - 'path' => __DIR__ . '/system/Test/Mock/MockCache.php', |
3348 | | -]; |
3349 | 3274 | $ignoreErrors[] = [ |
3350 | 3275 | 'message' => '#^Method CodeIgniter\\\\Test\\\\Mock\\\\MockCache\\:\\:assertHas\\(\\) has no return type specified\\.$#', |
3351 | 3276 | 'count' => 1, |
|
3381 | 3306 | 'count' => 1, |
3382 | 3307 | 'path' => __DIR__ . '/system/Test/Mock/MockConnection.php', |
3383 | 3308 | ]; |
3384 | | -$ignoreErrors[] = [ |
3385 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3386 | | - 'count' => 2, |
3387 | | - 'path' => __DIR__ . '/system/Test/Mock/MockConnection.php', |
3388 | | -]; |
3389 | 3309 | $ignoreErrors[] = [ |
3390 | 3310 | 'message' => '#^Method CodeIgniter\\\\Test\\\\Mock\\\\MockConnection\\:\\:_close\\(\\) should return mixed but return statement is missing\\.$#', |
3391 | 3311 | 'count' => 1, |
|
3496 | 3416 | 'count' => 1, |
3497 | 3417 | 'path' => __DIR__ . '/system/Test/Mock/MockResourceController.php', |
3498 | 3418 | ]; |
3499 | | -$ignoreErrors[] = [ |
3500 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3501 | | - 'count' => 1, |
3502 | | - 'path' => __DIR__ . '/system/Test/Mock/MockResourcePresenter.php', |
3503 | | -]; |
3504 | 3419 | $ignoreErrors[] = [ |
3505 | 3420 | 'message' => '#^Method CodeIgniter\\\\Test\\\\Mock\\\\MockResourcePresenter\\:\\:getFormat\\(\\) has no return type specified\\.$#', |
3506 | 3421 | 'count' => 1, |
|
3621 | 3536 | 'count' => 1, |
3622 | 3537 | 'path' => __DIR__ . '/system/Test/TestLogger.php', |
3623 | 3538 | ]; |
3624 | | -$ignoreErrors[] = [ |
3625 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3626 | | - 'count' => 1, |
3627 | | - 'path' => __DIR__ . '/system/Test/TestResponse.php', |
3628 | | -]; |
3629 | 3539 | $ignoreErrors[] = [ |
3630 | 3540 | 'message' => '#^Method CodeIgniter\\\\Test\\\\TestResponse\\:\\:__call\\(\\) should return mixed but return statement is missing\\.$#', |
3631 | 3541 | 'count' => 1, |
|
3741 | 3651 | 'count' => 1, |
3742 | 3652 | 'path' => __DIR__ . '/system/Throttle/Throttler.php', |
3743 | 3653 | ]; |
3744 | | -$ignoreErrors[] = [ |
3745 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3746 | | - 'count' => 1, |
3747 | | - 'path' => __DIR__ . '/system/Validation/CreditCardRules.php', |
3748 | | -]; |
3749 | 3654 | $ignoreErrors[] = [ |
3750 | 3655 | 'message' => '#^Only booleans are allowed in a negated boolean, array\\|null given\\.$#', |
3751 | 3656 | 'count' => 6, |
3752 | 3657 | 'path' => __DIR__ . '/system/Validation/FileRules.php', |
3753 | 3658 | ]; |
3754 | | -$ignoreErrors[] = [ |
3755 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3756 | | - 'count' => 8, |
3757 | | - 'path' => __DIR__ . '/system/Validation/Rules.php', |
3758 | | -]; |
3759 | | -$ignoreErrors[] = [ |
3760 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3761 | | - 'count' => 4, |
3762 | | - 'path' => __DIR__ . '/system/Validation/StrictRules/Rules.php', |
3763 | | -]; |
3764 | | -$ignoreErrors[] = [ |
3765 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3766 | | - 'count' => 3, |
3767 | | - 'path' => __DIR__ . '/system/Validation/Validation.php', |
3768 | | -]; |
3769 | 3659 | $ignoreErrors[] = [ |
3770 | 3660 | 'message' => '#^Method CodeIgniter\\\\Validation\\\\Validation\\:\\:isClosure\\(\\) has parameter \\$rule with no signature specified for Closure\\.$#', |
3771 | 3661 | 'count' => 1, |
|
3776 | 3666 | 'count' => 2, |
3777 | 3667 | 'path' => __DIR__ . '/system/Validation/Validation.php', |
3778 | 3668 | ]; |
3779 | | -$ignoreErrors[] = [ |
3780 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3781 | | - 'count' => 1, |
3782 | | - 'path' => __DIR__ . '/system/Validation/Views/list.php', |
3783 | | -]; |
3784 | 3669 | $ignoreErrors[] = [ |
3785 | 3670 | 'message' => '#^Call to an undefined static method CodeIgniter\\\\Config\\\\Factories\\:\\:cells\\(\\)\\.$#', |
3786 | 3671 | 'count' => 1, |
3787 | 3672 | 'path' => __DIR__ . '/system/View/Cell.php', |
3788 | 3673 | ]; |
3789 | | -$ignoreErrors[] = [ |
3790 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3791 | | - 'count' => 1, |
3792 | | - 'path' => __DIR__ . '/system/View/Filters.php', |
3793 | | -]; |
3794 | | -$ignoreErrors[] = [ |
3795 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3796 | | - 'count' => 4, |
3797 | | - 'path' => __DIR__ . '/system/View/Parser.php', |
3798 | | -]; |
3799 | 3674 | $ignoreErrors[] = [ |
3800 | 3675 | 'message' => '#^Method CodeIgniter\\\\View\\\\Parser\\:\\:addPlugin\\(\\) has parameter \\$callback with no signature specified for callable\\.$#', |
3801 | 3676 | 'count' => 1, |
3802 | 3677 | 'path' => __DIR__ . '/system/View/Parser.php', |
3803 | 3678 | ]; |
3804 | | -$ignoreErrors[] = [ |
3805 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3806 | | - 'count' => 7, |
3807 | | - 'path' => __DIR__ . '/system/View/Table.php', |
3808 | | -]; |
3809 | 3679 | $ignoreErrors[] = [ |
3810 | 3680 | 'message' => '#^Only booleans are allowed in a ternary operator condition, float given\\.$#', |
3811 | 3681 | 'count' => 1, |
|
3821 | 3691 | 'count' => 1, |
3822 | 3692 | 'path' => __DIR__ . '/system/View/Table.php', |
3823 | 3693 | ]; |
3824 | | -$ignoreErrors[] = [ |
3825 | | - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3826 | | - 'count' => 3, |
3827 | | - 'path' => __DIR__ . '/system/View/View.php', |
3828 | | -]; |
3829 | 3694 | $ignoreErrors[] = [ |
3830 | 3695 | 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#', |
3831 | 3696 | 'count' => 2, |
|
0 commit comments