|
18 | 18 | ];
|
19 | 19 | $ignoreErrors[] = [
|
20 | 20 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
21 |
| - 'count' => 13, |
| 21 | + 'count' => 10, |
22 | 22 | 'path' => __DIR__ . '/system/Autoloader/FileLocator.php',
|
23 | 23 | ];
|
24 | 24 | $ignoreErrors[] = [
|
|
33 | 33 | ];
|
34 | 34 | $ignoreErrors[] = [
|
35 | 35 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
36 |
| - 'count' => 16, |
| 36 | + 'count' => 10, |
37 | 37 | 'path' => __DIR__ . '/system/BaseModel.php',
|
38 | 38 | ];
|
39 | 39 | $ignoreErrors[] = [
|
|
63 | 63 | ];
|
64 | 64 | $ignoreErrors[] = [
|
65 | 65 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
66 |
| - 'count' => 5, |
| 66 | + 'count' => 2, |
67 | 67 | 'path' => __DIR__ . '/system/CLI/BaseCommand.php',
|
68 | 68 | ];
|
69 | 69 | $ignoreErrors[] = [
|
|
83 | 83 | ];
|
84 | 84 | $ignoreErrors[] = [
|
85 | 85 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
86 |
| - 'count' => 6, |
| 86 | + 'count' => 1, |
87 | 87 | 'path' => __DIR__ . '/system/CLI/CLI.php',
|
88 | 88 | ];
|
89 | 89 | $ignoreErrors[] = [
|
|
856 | 856 | 'count' => 4,
|
857 | 857 | 'path' => __DIR__ . '/system/Config/Services.php',
|
858 | 858 | ];
|
859 |
| -$ignoreErrors[] = [ |
860 |
| - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
861 |
| - 'count' => 1, |
862 |
| - 'path' => __DIR__ . '/system/Controller.php', |
863 |
| -]; |
864 | 859 | $ignoreErrors[] = [
|
865 | 860 | 'message' => '#^Only booleans are allowed in a negated boolean, array given\\.$#',
|
866 | 861 | 'count' => 1,
|
|
1033 | 1028 | ];
|
1034 | 1029 | $ignoreErrors[] = [
|
1035 | 1030 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1036 |
| - 'count' => 10, |
| 1031 | + 'count' => 2, |
1037 | 1032 | 'path' => __DIR__ . '/system/Database/BaseResult.php',
|
1038 | 1033 | ];
|
1039 | 1034 | $ignoreErrors[] = [
|
|
1148 | 1143 | ];
|
1149 | 1144 | $ignoreErrors[] = [
|
1150 | 1145 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1151 |
| - 'count' => 8, |
| 1146 | + 'count' => 6, |
1152 | 1147 | 'path' => __DIR__ . '/system/Database/MigrationRunner.php',
|
1153 | 1148 | ];
|
1154 | 1149 | $ignoreErrors[] = [
|
|
1206 | 1201 | 'count' => 1,
|
1207 | 1202 | 'path' => __DIR__ . '/system/Database/ModelFactory.php',
|
1208 | 1203 | ];
|
1209 |
| -$ignoreErrors[] = [ |
1210 |
| - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
1211 |
| - 'count' => 1, |
1212 |
| - 'path' => __DIR__ . '/system/Database/MySQLi/Builder.php', |
1213 |
| -]; |
1214 | 1204 | $ignoreErrors[] = [
|
1215 | 1205 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1216 | 1206 | 'count' => 12,
|
|
1543 | 1533 | ];
|
1544 | 1534 | $ignoreErrors[] = [
|
1545 | 1535 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1546 |
| - 'count' => 15, |
| 1536 | + 'count' => 10, |
1547 | 1537 | 'path' => __DIR__ . '/system/Database/SQLSRV/Builder.php',
|
1548 | 1538 | ];
|
1549 | 1539 | $ignoreErrors[] = [
|
|
1593 | 1583 | ];
|
1594 | 1584 | $ignoreErrors[] = [
|
1595 | 1585 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1596 |
| - 'count' => 6, |
| 1586 | + 'count' => 5, |
1597 | 1587 | 'path' => __DIR__ . '/system/Database/SQLSRV/Forge.php',
|
1598 | 1588 | ];
|
1599 | 1589 | $ignoreErrors[] = [
|
|
1713 | 1703 | ];
|
1714 | 1704 | $ignoreErrors[] = [
|
1715 | 1705 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1716 |
| - 'count' => 3, |
| 1706 | + 'count' => 2, |
1717 | 1707 | 'path' => __DIR__ . '/system/Database/SQLite3/Table.php',
|
1718 | 1708 | ];
|
1719 | 1709 | $ignoreErrors[] = [
|
|
1761 | 1751 | 'count' => 3,
|
1762 | 1752 | 'path' => __DIR__ . '/system/Debug/Exceptions.php',
|
1763 | 1753 | ];
|
1764 |
| -$ignoreErrors[] = [ |
1765 |
| - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
1766 |
| - 'count' => 1, |
1767 |
| - 'path' => __DIR__ . '/system/Debug/Iterator.php', |
1768 |
| -]; |
1769 | 1754 | $ignoreErrors[] = [
|
1770 | 1755 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1771 | 1756 | 'count' => 5,
|
1772 | 1757 | 'path' => __DIR__ . '/system/Debug/Timer.php',
|
1773 | 1758 | ];
|
1774 | 1759 | $ignoreErrors[] = [
|
1775 | 1760 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1776 |
| - 'count' => 5, |
| 1761 | + 'count' => 2, |
1777 | 1762 | 'path' => __DIR__ . '/system/Debug/Toolbar.php',
|
1778 | 1763 | ];
|
1779 |
| -$ignoreErrors[] = [ |
1780 |
| - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
1781 |
| - 'count' => 1, |
1782 |
| - 'path' => __DIR__ . '/system/Debug/Toolbar/Collectors/Database.php', |
1783 |
| -]; |
1784 | 1764 | $ignoreErrors[] = [
|
1785 | 1765 | 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
|
1786 | 1766 | 'count' => 1,
|
1787 | 1767 | 'path' => __DIR__ . '/system/Debug/Toolbar/Collectors/Database.php',
|
1788 | 1768 | ];
|
1789 |
| -$ignoreErrors[] = [ |
1790 |
| - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
1791 |
| - 'count' => 1, |
1792 |
| - 'path' => __DIR__ . '/system/Debug/Toolbar/Collectors/History.php', |
1793 |
| -]; |
1794 | 1769 | $ignoreErrors[] = [
|
1795 | 1770 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1796 | 1771 | 'count' => 2,
|
|
1888 | 1863 | ];
|
1889 | 1864 | $ignoreErrors[] = [
|
1890 | 1865 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1891 |
| - 'count' => 4, |
| 1866 | + 'count' => 3, |
1892 | 1867 | 'path' => __DIR__ . '/system/Entity/Entity.php',
|
1893 | 1868 | ];
|
1894 | 1869 | $ignoreErrors[] = [
|
|
1958 | 1933 | ];
|
1959 | 1934 | $ignoreErrors[] = [
|
1960 | 1935 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1961 |
| - 'count' => 2, |
| 1936 | + 'count' => 1, |
1962 | 1937 | 'path' => __DIR__ . '/system/HTTP/CLIRequest.php',
|
1963 | 1938 | ];
|
1964 | 1939 | $ignoreErrors[] = [
|
|
1978 | 1953 | ];
|
1979 | 1954 | $ignoreErrors[] = [
|
1980 | 1955 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
1981 |
| - 'count' => 9, |
| 1956 | + 'count' => 7, |
1982 | 1957 | 'path' => __DIR__ . '/system/HTTP/ContentSecurityPolicy.php',
|
1983 | 1958 | ];
|
1984 | 1959 | $ignoreErrors[] = [
|
|
2031 | 2006 | 'count' => 1,
|
2032 | 2007 | 'path' => __DIR__ . '/system/HTTP/Files/FileCollection.php',
|
2033 | 2008 | ];
|
2034 |
| -$ignoreErrors[] = [ |
2035 |
| - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
2036 |
| - 'count' => 1, |
2037 |
| - 'path' => __DIR__ . '/system/HTTP/Files/FileCollection.php', |
2038 |
| -]; |
2039 | 2009 | $ignoreErrors[] = [
|
2040 | 2010 | 'message' => '#^Only booleans are allowed in &&, array given on the right side\\.$#',
|
2041 | 2011 | 'count' => 2,
|
|
2133 | 2103 | ];
|
2134 | 2104 | $ignoreErrors[] = [
|
2135 | 2105 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2136 |
| - 'count' => 3, |
| 2106 | + 'count' => 2, |
2137 | 2107 | 'path' => __DIR__ . '/system/HTTP/Negotiate.php',
|
2138 | 2108 | ];
|
2139 | 2109 | $ignoreErrors[] = [
|
|
2188 | 2158 | ];
|
2189 | 2159 | $ignoreErrors[] = [
|
2190 | 2160 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2191 |
| - 'count' => 6, |
| 2161 | + 'count' => 5, |
2192 | 2162 | 'path' => __DIR__ . '/system/HTTP/Response.php',
|
2193 | 2163 | ];
|
2194 | 2164 | $ignoreErrors[] = [
|
|
2266 | 2236 | 'count' => 4,
|
2267 | 2237 | 'path' => __DIR__ . '/system/HTTP/UserAgent.php',
|
2268 | 2238 | ];
|
2269 |
| -$ignoreErrors[] = [ |
2270 |
| - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
2271 |
| - 'count' => 3, |
2272 |
| - 'path' => __DIR__ . '/system/Helpers/array_helper.php', |
2273 |
| -]; |
2274 | 2239 | $ignoreErrors[] = [
|
2275 | 2240 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2276 | 2241 | 'count' => 1,
|
|
2358 | 2323 | ];
|
2359 | 2324 | $ignoreErrors[] = [
|
2360 | 2325 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2361 |
| - 'count' => 4, |
| 2326 | + 'count' => 1, |
2362 | 2327 | 'path' => __DIR__ . '/system/Helpers/form_helper.php',
|
2363 | 2328 | ];
|
2364 | 2329 | $ignoreErrors[] = [
|
|
2378 | 2343 | ];
|
2379 | 2344 | $ignoreErrors[] = [
|
2380 | 2345 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2381 |
| - 'count' => 6, |
| 2346 | + 'count' => 5, |
2382 | 2347 | 'path' => __DIR__ . '/system/Helpers/html_helper.php',
|
2383 | 2348 | ];
|
2384 | 2349 | $ignoreErrors[] = [
|
|
2398 | 2363 | ];
|
2399 | 2364 | $ignoreErrors[] = [
|
2400 | 2365 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2401 |
| - 'count' => 3, |
| 2366 | + 'count' => 1, |
2402 | 2367 | 'path' => __DIR__ . '/system/Helpers/text_helper.php',
|
2403 | 2368 | ];
|
2404 | 2369 | $ignoreErrors[] = [
|
|
2408 | 2373 | ];
|
2409 | 2374 | $ignoreErrors[] = [
|
2410 | 2375 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2411 |
| - 'count' => 2, |
| 2376 | + 'count' => 1, |
2412 | 2377 | 'path' => __DIR__ . '/system/Helpers/url_helper.php',
|
2413 | 2378 | ];
|
2414 | 2379 | $ignoreErrors[] = [
|
|
2551 | 2516 | 'count' => 1,
|
2552 | 2517 | 'path' => __DIR__ . '/system/Log/Handlers/FileHandler.php',
|
2553 | 2518 | ];
|
2554 |
| -$ignoreErrors[] = [ |
2555 |
| - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
2556 |
| - 'count' => 1, |
2557 |
| - 'path' => __DIR__ . '/system/Log/Logger.php', |
2558 |
| -]; |
2559 | 2519 | $ignoreErrors[] = [
|
2560 | 2520 | 'message' => '#^Parameter \\#1 \\$level \\(string\\) of method CodeIgniter\\\\Log\\\\Logger\\:\\:log\\(\\) should be contravariant with parameter \\$level \\(mixed\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:log\\(\\)$#',
|
2561 | 2521 | 'count' => 1,
|
2562 | 2522 | 'path' => __DIR__ . '/system/Log/Logger.php',
|
2563 | 2523 | ];
|
2564 | 2524 | $ignoreErrors[] = [
|
2565 | 2525 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2566 |
| - 'count' => 18, |
| 2526 | + 'count' => 16, |
2567 | 2527 | 'path' => __DIR__ . '/system/Model.php',
|
2568 | 2528 | ];
|
2569 | 2529 | $ignoreErrors[] = [
|
|
2648 | 2608 | ];
|
2649 | 2609 | $ignoreErrors[] = [
|
2650 | 2610 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2651 |
| - 'count' => 6, |
| 2611 | + 'count' => 3, |
2652 | 2612 | 'path' => __DIR__ . '/system/Router/AutoRouter.php',
|
2653 | 2613 | ];
|
2654 | 2614 | $ignoreErrors[] = [
|
|
2838 | 2798 | ];
|
2839 | 2799 | $ignoreErrors[] = [
|
2840 | 2800 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2841 |
| - 'count' => 5, |
| 2801 | + 'count' => 4, |
2842 | 2802 | 'path' => __DIR__ . '/system/Router/Router.php',
|
2843 | 2803 | ];
|
2844 | 2804 | $ignoreErrors[] = [
|
|
2963 | 2923 | ];
|
2964 | 2924 | $ignoreErrors[] = [
|
2965 | 2925 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2966 |
| - 'count' => 3, |
| 2926 | + 'count' => 2, |
2967 | 2927 | 'path' => __DIR__ . '/system/Session/Handlers/MemcachedHandler.php',
|
2968 | 2928 | ];
|
2969 | 2929 | $ignoreErrors[] = [
|
|
2988 | 2948 | ];
|
2989 | 2949 | $ignoreErrors[] = [
|
2990 | 2950 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
2991 |
| - 'count' => 13, |
| 2951 | + 'count' => 12, |
2992 | 2952 | 'path' => __DIR__ . '/system/Session/Session.php',
|
2993 | 2953 | ];
|
2994 | 2954 | $ignoreErrors[] = [
|
|
3273 | 3233 | ];
|
3274 | 3234 | $ignoreErrors[] = [
|
3275 | 3235 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
3276 |
| - 'count' => 7, |
| 3236 | + 'count' => 6, |
3277 | 3237 | 'path' => __DIR__ . '/system/Test/DOMParser.php',
|
3278 | 3238 | ];
|
3279 | 3239 | $ignoreErrors[] = [
|
|
3851 | 3811 | 'count' => 1,
|
3852 | 3812 | 'path' => __DIR__ . '/system/Validation/CreditCardRules.php',
|
3853 | 3813 | ];
|
3854 |
| -$ignoreErrors[] = [ |
3855 |
| - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3856 |
| - 'count' => 1, |
3857 |
| - 'path' => __DIR__ . '/system/Validation/DotArrayFilter.php', |
3858 |
| -]; |
3859 | 3814 | $ignoreErrors[] = [
|
3860 | 3815 | 'message' => '#^Only booleans are allowed in a negated boolean, array\\|null given\\.$#',
|
3861 | 3816 | 'count' => 6,
|
|
3868 | 3823 | ];
|
3869 | 3824 | $ignoreErrors[] = [
|
3870 | 3825 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
3871 |
| - 'count' => 11, |
| 3826 | + 'count' => 8, |
3872 | 3827 | 'path' => __DIR__ . '/system/Validation/Rules.php',
|
3873 | 3828 | ];
|
3874 | 3829 | $ignoreErrors[] = [
|
|
3908 | 3863 | ];
|
3909 | 3864 | $ignoreErrors[] = [
|
3910 | 3865 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
3911 |
| - 'count' => 9, |
| 3866 | + 'count' => 6, |
3912 | 3867 | 'path' => __DIR__ . '/system/View/Parser.php',
|
3913 | 3868 | ];
|
3914 | 3869 | $ignoreErrors[] = [
|
|
3918 | 3873 | ];
|
3919 | 3874 | $ignoreErrors[] = [
|
3920 | 3875 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
3921 |
| - 'count' => 1, |
3922 |
| - 'path' => __DIR__ . '/system/View/Plugins.php', |
3923 |
| -]; |
3924 |
| -$ignoreErrors[] = [ |
3925 |
| - 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
3926 |
| - 'count' => 9, |
| 3876 | + 'count' => 7, |
3927 | 3877 | 'path' => __DIR__ . '/system/View/Table.php',
|
3928 | 3878 | ];
|
3929 | 3879 | $ignoreErrors[] = [
|
|
0 commit comments