Skip to content

Commit 077bbb5

Browse files
committed
ignore new unrelated phpstan error due new release of phpstan
1 parent 82e234e commit 077bbb5

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

phpstan.neon.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ parameters:
4545
- '#Return type \(bool\) of method CodeIgniter\\HTTP\\Files\\UploadedFile::move\(\) should be compatible with return type \(CodeIgniter\\Files\\File\) of method CodeIgniter\\Files\\File::move\(\)#'
4646
- '#Return type \(bool\) of method CodeIgniter\\Test\\TestLogger::log\(\) should be compatible with return type \(null\) of method Psr\\Log\\LoggerInterface::log\(\)#'
4747
- '#Unsafe usage of new static\(\)*#'
48+
- '#Access to an undefined property CodeIgniter\\Config\\BaseConfig::\$key#'
4849
parallel:
4950
processTimeout: 300.0
5051
scanDirectories:

system/Config/Services.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ public static function email($config = null, bool $getShared = true)
224224
return static::getSharedInstance('email', $config);
225225
}
226226

227+
// @phpstan-ignore-next-line
227228
if (empty($config) || ! (is_array($config) || $config instanceof EmailConfig))
228229
{
229230
$config = config('Email');

system/View/Table.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ public function makeColumns($array = [], $columnLimit = 0)
224224
}
225225
while (count($array) > 0);
226226

227+
// @phpstan-ignore-next-line
227228
return $new;
228229
}
229230

0 commit comments

Comments
 (0)