Skip to content

Commit 31ed124

Browse files
committed
regenerate baseline
1 parent 0317245 commit 31ed124

File tree

1 file changed

+0
-125
lines changed

1 file changed

+0
-125
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@
2626
'count' => 1,
2727
'path' => __DIR__ . '/system/Autoloader/FileLocator.php',
2828
];
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-
];
3429
$ignoreErrors[] = [
3530
'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
3631
'count' => 6,
@@ -71,16 +66,6 @@
7166
'count' => 1,
7267
'path' => __DIR__ . '/system/BaseModel.php',
7368
];
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-
];
8469
$ignoreErrors[] = [
8570
'message' => '#^Strict comparison using \\!\\=\\= between mixed and null will always evaluate to true\\.$#',
8671
'count' => 1,
@@ -141,16 +126,6 @@
141126
'count' => 1,
142127
'path' => __DIR__ . '/system/CLI/CLI.php',
143128
];
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-
];
154129
$ignoreErrors[] = [
155130
'message' => '#^Only booleans are allowed in \\|\\|, string given on the left side\\.$#',
156131
'count' => 1,
@@ -171,11 +146,6 @@
171146
'count' => 5,
172147
'path' => __DIR__ . '/system/CLI/CLI.php',
173148
];
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-
];
179149
$ignoreErrors[] = [
180150
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
181151
'count' => 2,
@@ -211,26 +181,11 @@
211181
'count' => 1,
212182
'path' => __DIR__ . '/system/Cache/Handlers/PredisHandler.php',
213183
];
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-
];
224184
$ignoreErrors[] = [
225185
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
226186
'count' => 6,
227187
'path' => __DIR__ . '/system/CodeIgniter.php',
228188
];
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-
];
234189
$ignoreErrors[] = [
235190
'message' => '#^Property CodeIgniter\\\\CodeIgniter\\:\\:\\$controller type has no signature specified for Closure\\.$#',
236191
'count' => 1,
@@ -971,11 +926,6 @@
971926
'count' => 2,
972927
'path' => __DIR__ . '/system/Config/Factories.php',
973928
];
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-
];
979929
$ignoreErrors[] = [
980930
'message' => '#^Accessing offset \'SERVER_PROTOCOL\' directly on \\$_SERVER is discouraged\\.$#',
981931
'count' => 1,
@@ -1926,31 +1876,11 @@
19261876
'count' => 2,
19271877
'path' => __DIR__ . '/system/Debug/ExceptionHandler.php',
19281878
];
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-
];
19341879
$ignoreErrors[] = [
19351880
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
19361881
'count' => 3,
19371882
'path' => __DIR__ . '/system/Debug/Exceptions.php',
19381883
];
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-
];
19541884
$ignoreErrors[] = [
19551885
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
19561886
'count' => 1,
@@ -2041,11 +1971,6 @@
20411971
'count' => 2,
20421972
'path' => __DIR__ . '/system/Encryption/Encryption.php',
20431973
];
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-
];
20491974
$ignoreErrors[] = [
20501975
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
20511976
'count' => 2,
@@ -2166,11 +2091,6 @@
21662091
'count' => 1,
21672092
'path' => __DIR__ . '/system/HTTP/CURLRequest.php',
21682093
];
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-
];
21742094
$ignoreErrors[] = [
21752095
'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
21762096
'count' => 1,
@@ -2426,11 +2346,6 @@
24262346
'count' => 4,
24272347
'path' => __DIR__ . '/system/HTTP/SiteURI.php',
24282348
];
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-
];
24342349
$ignoreErrors[] = [
24352350
'message' => '#^Strict comparison using \\!\\=\\= between mixed and null will always evaluate to true\\.$#',
24362351
'count' => 1,
@@ -2441,16 +2356,6 @@
24412356
'count' => 15,
24422357
'path' => __DIR__ . '/system/HTTP/URI.php',
24432358
];
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-
];
24542359
$ignoreErrors[] = [
24552360
'message' => '#^Property CodeIgniter\\\\HTTP\\\\URI\\:\\:\\$fragment \\(string\\) on left side of \\?\\? is not nullable\\.$#',
24562361
'count' => 1,
@@ -2621,11 +2526,6 @@
26212526
'count' => 2,
26222527
'path' => __DIR__ . '/system/Helpers/test_helper.php',
26232528
];
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-
];
26292529
$ignoreErrors[] = [
26302530
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
26312531
'count' => 3,
@@ -2786,11 +2686,6 @@
27862686
'count' => 1,
27872687
'path' => __DIR__ . '/system/Log/Logger.php',
27882688
];
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-
];
27942689
$ignoreErrors[] = [
27952690
'message' => '#^Parameter \\#1 \\$level \\(string\\) of method CodeIgniter\\\\Log\\\\Logger\\:\\:log\\(\\) should be contravariant with parameter \\$level \\(mixed\\) of method Psr\\\\Log\\\\LoggerInterface\\:\\:log\\(\\)$#',
27962691
'count' => 1,
@@ -2848,11 +2743,6 @@
28482743
];
28492744
$ignoreErrors[] = [
28502745
'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\\.$#',
28562746
'count' => 1,
28572747
'path' => __DIR__ . '/system/Pager/Pager.php',
28582748
];
@@ -3646,11 +3536,6 @@
36463536
'count' => 1,
36473537
'path' => __DIR__ . '/system/Test/FeatureTestCase.php',
36483538
];
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-
];
36543539
$ignoreErrors[] = [
36553540
'message' => '#^Property CodeIgniter\\\\Test\\\\CIUnitTestCase\\:\\:\\$bodyFormat \\(string\\) in isset\\(\\) is not nullable\\.$#',
36563541
'count' => 1,
@@ -4156,11 +4041,6 @@
41564041
'count' => 1,
41574042
'path' => __DIR__ . '/system/Validation/Validation.php',
41584043
];
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-
];
41644044
$ignoreErrors[] = [
41654045
'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
41664046
'count' => 2,
@@ -4231,11 +4111,6 @@
42314111
'count' => 3,
42324112
'path' => __DIR__ . '/system/View/View.php',
42334113
];
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-
];
42394114
$ignoreErrors[] = [
42404115
'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\\(\\)$#',
42414116
'count' => 1,

0 commit comments

Comments
 (0)