|
26 | 26 | 'count' => 1, |
27 | 27 | 'path' => __DIR__ . '/system/Autoloader/FileLocator.php', |
28 | 28 | ]; |
29 | | -$ignoreErrors[] = [ |
30 | | - 'message' => '#^Only booleans are allowed in an if condition, string given\\.$#', |
31 | | - 'count' => 1, |
32 | | - 'path' => __DIR__ . '/system/Autoloader/FileLocator.php', |
33 | | -]; |
34 | 29 | $ignoreErrors[] = [ |
35 | 30 | 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#', |
36 | 31 | 'count' => 6, |
|
71 | 66 | 'count' => 1, |
72 | 67 | 'path' => __DIR__ . '/system/BaseModel.php', |
73 | 68 | ]; |
74 | | -$ignoreErrors[] = [ |
75 | | - 'message' => '#^Only booleans are allowed in an if condition, array\\|null given\\.$#', |
76 | | - 'count' => 1, |
77 | | - 'path' => __DIR__ . '/system/BaseModel.php', |
78 | | -]; |
79 | | -$ignoreErrors[] = [ |
80 | | - 'message' => '#^Only booleans are allowed in an if condition, int given\\.$#', |
81 | | - 'count' => 1, |
82 | | - 'path' => __DIR__ . '/system/BaseModel.php', |
83 | | -]; |
84 | 69 | $ignoreErrors[] = [ |
85 | 70 | 'message' => '#^Strict comparison using \\!\\=\\= between mixed and null will always evaluate to true\\.$#', |
86 | 71 | 'count' => 1, |
|
141 | 126 | 'count' => 1, |
142 | 127 | 'path' => __DIR__ . '/system/CLI/CLI.php', |
143 | 128 | ]; |
144 | | -$ignoreErrors[] = [ |
145 | | - 'message' => '#^Only booleans are allowed in an if condition, array given\\.$#', |
146 | | - 'count' => 1, |
147 | | - 'path' => __DIR__ . '/system/CLI/CLI.php', |
148 | | -]; |
149 | | -$ignoreErrors[] = [ |
150 | | - 'message' => '#^Only booleans are allowed in an if condition, int given\\.$#', |
151 | | - 'count' => 1, |
152 | | - 'path' => __DIR__ . '/system/CLI/CLI.php', |
153 | | -]; |
154 | 129 | $ignoreErrors[] = [ |
155 | 130 | 'message' => '#^Only booleans are allowed in \\|\\|, string given on the left side\\.$#', |
156 | 131 | 'count' => 1, |
|
171 | 146 | 'count' => 5, |
172 | 147 | 'path' => __DIR__ . '/system/CLI/CLI.php', |
173 | 148 | ]; |
174 | | -$ignoreErrors[] = [ |
175 | | - 'message' => '#^Only booleans are allowed in an if condition, array given\\.$#', |
176 | | - 'count' => 1, |
177 | | - 'path' => __DIR__ . '/system/CLI/Commands.php', |
178 | | -]; |
179 | 149 | $ignoreErrors[] = [ |
180 | 150 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
181 | 151 | 'count' => 2, |
|
211 | 181 | 'count' => 1, |
212 | 182 | 'path' => __DIR__ . '/system/Cache/Handlers/PredisHandler.php', |
213 | 183 | ]; |
214 | | -$ignoreErrors[] = [ |
215 | | - 'message' => '#^Only booleans are allowed in an if condition, int given\\.$#', |
216 | | - 'count' => 1, |
217 | | - 'path' => __DIR__ . '/system/Cache/Handlers/PredisHandler.php', |
218 | | -]; |
219 | | -$ignoreErrors[] = [ |
220 | | - 'message' => '#^Only booleans are allowed in an if condition, int given\\.$#', |
221 | | - 'count' => 1, |
222 | | - 'path' => __DIR__ . '/system/Cache/Handlers/RedisHandler.php', |
223 | | -]; |
224 | 184 | $ignoreErrors[] = [ |
225 | 185 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
226 | 186 | 'count' => 6, |
227 | 187 | 'path' => __DIR__ . '/system/CodeIgniter.php', |
228 | 188 | ]; |
229 | | -$ignoreErrors[] = [ |
230 | | - 'message' => '#^Only booleans are allowed in an if condition, CodeIgniter\\\\HTTP\\\\ResponseInterface\\|null given\\.$#', |
231 | | - 'count' => 1, |
232 | | - 'path' => __DIR__ . '/system/CodeIgniter.php', |
233 | | -]; |
234 | 189 | $ignoreErrors[] = [ |
235 | 190 | 'message' => '#^Property CodeIgniter\\\\CodeIgniter\\:\\:\\$controller type has no signature specified for Closure\\.$#', |
236 | 191 | 'count' => 1, |
|
971 | 926 | 'count' => 2, |
972 | 927 | 'path' => __DIR__ . '/system/Config/Factories.php', |
973 | 928 | ]; |
974 | | -$ignoreErrors[] = [ |
975 | | - 'message' => '#^Only booleans are allowed in an if condition, string\\|null given\\.$#', |
976 | | - 'count' => 2, |
977 | | - 'path' => __DIR__ . '/system/Config/Factories.php', |
978 | | -]; |
979 | 929 | $ignoreErrors[] = [ |
980 | 930 | 'message' => '#^Accessing offset \'SERVER_PROTOCOL\' directly on \\$_SERVER is discouraged\\.$#', |
981 | 931 | 'count' => 1, |
|
1926 | 1876 | 'count' => 2, |
1927 | 1877 | 'path' => __DIR__ . '/system/Debug/ExceptionHandler.php', |
1928 | 1878 | ]; |
1929 | | -$ignoreErrors[] = [ |
1930 | | - 'message' => '#^Only booleans are allowed in an if condition, string given\\.$#', |
1931 | | - 'count' => 1, |
1932 | | - 'path' => __DIR__ . '/system/Debug/ExceptionHandler.php', |
1933 | | -]; |
1934 | 1879 | $ignoreErrors[] = [ |
1935 | 1880 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
1936 | 1881 | 'count' => 3, |
1937 | 1882 | 'path' => __DIR__ . '/system/Debug/Exceptions.php', |
1938 | 1883 | ]; |
1939 | | -$ignoreErrors[] = [ |
1940 | | - 'message' => '#^Only booleans are allowed in an if condition, Throwable\\|null given\\.$#', |
1941 | | - 'count' => 1, |
1942 | | - 'path' => __DIR__ . '/system/Debug/Exceptions.php', |
1943 | | -]; |
1944 | | -$ignoreErrors[] = [ |
1945 | | - 'message' => '#^Only booleans are allowed in an if condition, int given\\.$#', |
1946 | | - 'count' => 1, |
1947 | | - 'path' => __DIR__ . '/system/Debug/Exceptions.php', |
1948 | | -]; |
1949 | | -$ignoreErrors[] = [ |
1950 | | - 'message' => '#^Only booleans are allowed in an if condition, string given\\.$#', |
1951 | | - 'count' => 1, |
1952 | | - 'path' => __DIR__ . '/system/Debug/Exceptions.php', |
1953 | | -]; |
1954 | 1884 | $ignoreErrors[] = [ |
1955 | 1885 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
1956 | 1886 | 'count' => 1, |
|
2041 | 1971 | 'count' => 2, |
2042 | 1972 | 'path' => __DIR__ . '/system/Encryption/Encryption.php', |
2043 | 1973 | ]; |
2044 | | -$ignoreErrors[] = [ |
2045 | | - 'message' => '#^Only booleans are allowed in an if condition, Config\\\\Encryption\\|null given\\.$#', |
2046 | | - 'count' => 1, |
2047 | | - 'path' => __DIR__ . '/system/Encryption/Encryption.php', |
2048 | | -]; |
2049 | 1974 | $ignoreErrors[] = [ |
2050 | 1975 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
2051 | 1976 | 'count' => 2, |
|
2166 | 2091 | 'count' => 1, |
2167 | 2092 | 'path' => __DIR__ . '/system/HTTP/CURLRequest.php', |
2168 | 2093 | ]; |
2169 | | -$ignoreErrors[] = [ |
2170 | | - 'message' => '#^Only booleans are allowed in an if condition, string given\\.$#', |
2171 | | - 'count' => 1, |
2172 | | - 'path' => __DIR__ . '/system/HTTP/CURLRequest.php', |
2173 | | -]; |
2174 | 2094 | $ignoreErrors[] = [ |
2175 | 2095 | 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#', |
2176 | 2096 | 'count' => 1, |
|
2426 | 2346 | 'count' => 4, |
2427 | 2347 | 'path' => __DIR__ . '/system/HTTP/SiteURI.php', |
2428 | 2348 | ]; |
2429 | | -$ignoreErrors[] = [ |
2430 | | - 'message' => '#^Only booleans are allowed in an if condition, string given\\.$#', |
2431 | | - 'count' => 1, |
2432 | | - 'path' => __DIR__ . '/system/HTTP/SiteURI.php', |
2433 | | -]; |
2434 | 2349 | $ignoreErrors[] = [ |
2435 | 2350 | 'message' => '#^Strict comparison using \\!\\=\\= between mixed and null will always evaluate to true\\.$#', |
2436 | 2351 | 'count' => 1, |
|
2441 | 2356 | 'count' => 15, |
2442 | 2357 | 'path' => __DIR__ . '/system/HTTP/URI.php', |
2443 | 2358 | ]; |
2444 | | -$ignoreErrors[] = [ |
2445 | | - 'message' => '#^Only booleans are allowed in an if condition, string given\\.$#', |
2446 | | - 'count' => 1, |
2447 | | - 'path' => __DIR__ . '/system/HTTP/URI.php', |
2448 | | -]; |
2449 | | -$ignoreErrors[] = [ |
2450 | | - 'message' => '#^Only booleans are allowed in an if condition, string\\|null given\\.$#', |
2451 | | - 'count' => 2, |
2452 | | - 'path' => __DIR__ . '/system/HTTP/URI.php', |
2453 | | -]; |
2454 | 2359 | $ignoreErrors[] = [ |
2455 | 2360 | 'message' => '#^Property CodeIgniter\\\\HTTP\\\\URI\\:\\:\\$fragment \\(string\\) on left side of \\?\\? is not nullable\\.$#', |
2456 | 2361 | 'count' => 1, |
|
2621 | 2526 | 'count' => 2, |
2622 | 2527 | 'path' => __DIR__ . '/system/Helpers/test_helper.php', |
2623 | 2528 | ]; |
2624 | | -$ignoreErrors[] = [ |
2625 | | - 'message' => '#^Only booleans are allowed in an if condition, array\\|null given\\.$#', |
2626 | | - 'count' => 1, |
2627 | | - 'path' => __DIR__ . '/system/Helpers/test_helper.php', |
2628 | | -]; |
2629 | 2529 | $ignoreErrors[] = [ |
2630 | 2530 | 'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#', |
2631 | 2531 | 'count' => 3, |
|
2786 | 2686 | 'count' => 1, |
2787 | 2687 | 'path' => __DIR__ . '/system/Log/Logger.php', |
2788 | 2688 | ]; |
2789 | | -$ignoreErrors[] = [ |
2790 | | - 'message' => '#^Only booleans are allowed in an if condition, array given\\.$#', |
2791 | | - 'count' => 1, |
2792 | | - 'path' => __DIR__ . '/system/Log/Logger.php', |
2793 | | -]; |
2794 | 2689 | $ignoreErrors[] = [ |
2795 | 2690 | 'message' => '#^Parameter \\#1 \\$level \\(string\\) of method CodeIgniter\\\\Log\\\\Logger\\:\\:log\\(\\) should be contravariant with parameter \\$level \\(mixed\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:log\\(\\)$#', |
2796 | 2691 | 'count' => 1, |
|
2848 | 2743 | ]; |
2849 | 2744 | $ignoreErrors[] = [ |
2850 | 2745 | 'message' => '#^Only booleans are allowed in an if condition, array given\\.$#', |
2851 | | - 'count' => 2, |
2852 | | - 'path' => __DIR__ . '/system/Pager/Pager.php', |
2853 | | -]; |
2854 | | -$ignoreErrors[] = [ |
2855 | | - 'message' => '#^Only booleans are allowed in an if condition, int given\\.$#', |
2856 | 2746 | 'count' => 1, |
2857 | 2747 | 'path' => __DIR__ . '/system/Pager/Pager.php', |
2858 | 2748 | ]; |
|
3646 | 3536 | 'count' => 1, |
3647 | 3537 | 'path' => __DIR__ . '/system/Test/FeatureTestCase.php', |
3648 | 3538 | ]; |
3649 | | -$ignoreErrors[] = [ |
3650 | | - 'message' => '#^Only booleans are allowed in an if condition, array\\|null given\\.$#', |
3651 | | - 'count' => 1, |
3652 | | - 'path' => __DIR__ . '/system/Test/FeatureTestCase.php', |
3653 | | -]; |
3654 | 3539 | $ignoreErrors[] = [ |
3655 | 3540 | 'message' => '#^Property CodeIgniter\\\\Test\\\\CIUnitTestCase\\:\\:\\$bodyFormat \\(string\\) in isset\\(\\) is not nullable\\.$#', |
3656 | 3541 | 'count' => 1, |
|
4156 | 4041 | 'count' => 1, |
4157 | 4042 | 'path' => __DIR__ . '/system/Validation/Validation.php', |
4158 | 4043 | ]; |
4159 | | -$ignoreErrors[] = [ |
4160 | | - 'message' => '#^Only booleans are allowed in an if condition, array given\\.$#', |
4161 | | - 'count' => 2, |
4162 | | - 'path' => __DIR__ . '/system/Validation/Validation.php', |
4163 | | -]; |
4164 | 4044 | $ignoreErrors[] = [ |
4165 | 4045 | 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#', |
4166 | 4046 | 'count' => 2, |
|
4231 | 4111 | 'count' => 3, |
4232 | 4112 | 'path' => __DIR__ . '/system/View/View.php', |
4233 | 4113 | ]; |
4234 | | -$ignoreErrors[] = [ |
4235 | | - 'message' => '#^Only booleans are allowed in an if condition, string\\|null given\\.$#', |
4236 | | - 'count' => 2, |
4237 | | - 'path' => __DIR__ . '/system/View/View.php', |
4238 | | -]; |
4239 | 4114 | $ignoreErrors[] = [ |
4240 | 4115 | 'message' => '#^Parameter \\#2 \\$context \\(\'attr\'\\|\'css\'\\|\'html\'\\|\'js\'\\|\'raw\'\\|\'url\'\\|null\\) of method CodeIgniter\\\\View\\\\View\\:\\:setData\\(\\) should be contravariant with parameter \\$context \\(string\\|null\\) of method CodeIgniter\\\\View\\\\RendererInterface\\:\\:setData\\(\\)$#', |
4241 | 4116 | 'count' => 1, |
|
0 commit comments