Skip to content

feat(app): Added controller attributes #13097

feat(app): Added controller attributes

feat(app): Added controller attributes #13097

Triggered via pull request October 5, 2025 22:47
Status Failure
Total duration 1m 30s
Artifacts

test-phpstan.yml

on: pull_request
PHP Static Analysis
1m 27s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

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.