feat(app): Added controller attributes #13097
test-phpstan.yml
on: pull_request
PHP Static Analysis
1m 27s
Annotations
10 errors
|
PHP Static Analysis:
system/Router/Attributes/Restrict.php#L77
Method CodeIgniter\Router\Attributes\Restrict::__construct() has parameter $environment with no value type specified in iterable type array.
|
|
PHP Static Analysis:
system/Router/Attributes/Filter.php#L61
Construct empty() is not allowed. Use more strict comparison.
|
|
PHP Static Analysis:
system/Router/Attributes/Filter.php#L59
Method CodeIgniter\Router\Attributes\Filter::getFilters() return type has no value type specified in iterable type array.
|
|
PHP Static Analysis:
system/Router/Attributes/Filter.php#L41
Method CodeIgniter\Router\Attributes\Filter::__construct() has parameter $having with no value type specified in iterable type array.
|
|
PHP Static Analysis:
system/Database/SQLite3/Connection.php#L110
Property CodeIgniter\Database\BaseConnection<SQLite3,SQLite3Result>::$password (string) in isset() is not nullable.
|
|
PHP Static Analysis:
system/Database/MySQLi/Connection.php#L126
Property CodeIgniter\Database\BaseConnection<mysqli,mysqli_result>::$strictOn (bool) in isset() is not nullable.
|
|
PHP Static Analysis:
system/CodeIgniter.php#L883
Property CodeIgniter\CodeIgniter::$request (CodeIgniter\HTTP\CLIRequest|CodeIgniter\HTTP\IncomingRequest|null) does not accept CodeIgniter\HTTP\Request.
|
|
PHP Static Analysis:
system/CLI/Commands.php#L132
Property CodeIgniter\CLI\BaseCommand::$group (string) in isset() is not nullable.
|
|
PHP Static Analysis:
system/CLI/BaseCommand.php#L157
Property CodeIgniter\CLI\BaseCommand::$description (string) in isset() is not nullable.
|
|
PHP Static Analysis:
system/CLI/BaseCommand.php#L145
Property CodeIgniter\CLI\BaseCommand::$usage (string) in isset() is not nullable.
|