refactor: update Console::run() to allow it be called in command() function
#13988
test-phpstan.yml
on: pull_request
PHP Static Analysis
1m 4s
Annotations
10 errors
|
PHP Static Analysis:
system/CodeIgniter.php#L347
Property Config\Feature::$oldFilterOrder (bool) on left side of ?? is not nullable.
|
|
PHP Static Analysis:
system/CodeIgniter.php#L171
Property Config\App::$appTimezone (string) on left side of ?? is not nullable.
|
|
PHP Static Analysis:
system/CodeIgniter.php#L168
Property Config\App::$defaultLocale (string) on left side of ?? is not nullable.
|
|
PHP Static Analysis:
system/Cache/Handlers/PredisHandler.php#L68
Property Config\Cache::$redis (array<string, bool|int|string|null>) in isset() is not nullable.
|
|
PHP Static Analysis:
system/Cache/CacheFactory.php#L56
Property Config\Cache::$handler (string) in isset() is not nullable.
|
|
PHP Static Analysis:
system/Cache/CacheFactory.php#L56
Property Config\Cache::$backupHandler (string) in isset() is not nullable.
|
|
PHP Static Analysis:
system/Cache/CacheFactory.php#L52
Property Config\Cache::$validHandlers (array<string, class-string<CodeIgniter\Cache\CacheInterface>>) in isset() is not nullable.
|
|
PHP Static Analysis:
system/CLI/Console.php#L0
Ignored error pattern #^Method CodeIgniter\\CLI\\Console\:\:parseParamsForHelpOption\(\) return type has no value type specified in iterable type array\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/CLI/Console.php was not matched in reported errors.
|
|
PHP Static Analysis:
system/Boot.php#L207
Property Config\Paths::$envDirectory (string) on left side of ?? is not nullable.
|
|
PHP Static Analysis:
system/BaseModel.php#L673
Property Config\Feature::$limitZeroAsAll (bool) on left side of ?? is not nullable.
|