You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'opcache.max_accelerated_files' => ['remark' => 'Adjust based on the number of PHP files in your project (e.g.: find your_project/ -iname \'*.php\'|wc -l)'],
'opcache.validate_timestamps' => ['recommended' => '0', 'remark' => 'When you disabled, opcache hold your code into shared memory. Restart webserver needed'],
168
+
'opcache.validate_timestamps' => ['recommended' => '0', 'remark' => 'When disabled, opcache will hold your code into shared memory. Restart webserver as needed'],
155
169
'opcache.revalidate_freq' => [],
156
170
'opcache.file_cache' => ['remark' => 'Location file caching, It should improve performance when SHM memory is full'],
157
-
'opcache.file_cache_only' => ['remark' => 'Opcode caching in shared memory, Disabled when you using Windows'],
158
-
'opcache.file_cache_fallback' => ['remark' => 'Set enable when you using Windows'],
159
-
'opcache.save_comments' => ['recommended' => '0', 'remark' => 'Enable when you using package require docblock annotation'],
171
+
'opcache.file_cache_only' => ['remark' => 'Opcode caching in shared memory, Disabled when you are using Windows'],
172
+
'opcache.file_cache_fallback' => ['remark' => 'Enable when you are using Windows'],
173
+
'opcache.save_comments' => ['recommended' => '0', 'remark' => 'Enable when your code requires to read docblock annotations at runtime'],
160
174
];
161
175
}
162
176
163
177
$output = [];
164
-
$ini = ini_get_all();
178
+
179
+
$ini = ini_get_all();
180
+
assert(is_array($ini));
165
181
166
182
foreach ($itemsas$key => $values) {
167
183
$hasKeyInIni = array_key_exists($key, $ini);
@@ -173,7 +189,6 @@ public static function checkIni(?string $argument = null): array
Copy file name to clipboardExpand all lines: utils/phpstan-baseline/missingType.iterableValue.neon
+1-36Lines changed: 1 addition & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# total 1416 errors
1
+
# total 1409 errors
2
2
3
3
parameters:
4
4
ignoreErrors:
@@ -4552,41 +4552,6 @@ parameters:
4552
4552
count:1
4553
4553
path:../../system/Router/RouterInterface.php
4554
4554
4555
-
-
4556
-
message:'#^Method CodeIgniter\\Security\\CheckPhpIni\:\:checkIni\(\) return type has no value type specified in iterable type array\.$#'
4557
-
count:1
4558
-
path:../../system/Security/CheckPhpIni.php
4559
-
4560
-
-
4561
-
message:'#^Method CodeIgniter\\Security\\CheckPhpIni\:\:outputForCli\(\) has parameter \$output with no value type specified in iterable type array\.$#'
4562
-
count:1
4563
-
path:../../system/Security/CheckPhpIni.php
4564
-
4565
-
-
4566
-
message:'#^Method CodeIgniter\\Security\\CheckPhpIni\:\:outputForCli\(\) has parameter \$tbody with no value type specified in iterable type array\.$#'
4567
-
count:1
4568
-
path:../../system/Security/CheckPhpIni.php
4569
-
4570
-
-
4571
-
message:'#^Method CodeIgniter\\Security\\CheckPhpIni\:\:outputForCli\(\) has parameter \$thead with no value type specified in iterable type array\.$#'
4572
-
count:1
4573
-
path:../../system/Security/CheckPhpIni.php
4574
-
4575
-
-
4576
-
message:'#^Method CodeIgniter\\Security\\CheckPhpIni\:\:outputForWeb\(\) has parameter \$output with no value type specified in iterable type array\.$#'
4577
-
count:1
4578
-
path:../../system/Security/CheckPhpIni.php
4579
-
4580
-
-
4581
-
message:'#^Method CodeIgniter\\Security\\CheckPhpIni\:\:outputForWeb\(\) has parameter \$tbody with no value type specified in iterable type array\.$#'
4582
-
count:1
4583
-
path:../../system/Security/CheckPhpIni.php
4584
-
4585
-
-
4586
-
message:'#^Method CodeIgniter\\Security\\CheckPhpIni\:\:outputForWeb\(\) has parameter \$thead with no value type specified in iterable type array\.$#'
4587
-
count:1
4588
-
path:../../system/Security/CheckPhpIni.php
4589
-
4590
4555
-
4591
4556
message:'#^Property CodeIgniter\\Session\\Handlers\\BaseHandler\:\:\$savePath type has no value type specified in iterable type array\.$#'
0 commit comments