chore: craft 5 support #1
Annotations
10 errors
Run composer phpstan:
src/Audit.php#L253
Parameter #1 $element of method superbig\audit\services\AuditService::onSaveElement() expects craft\base\Element, craft\base\ElementInterface given.
|
Run composer phpstan:
src/console/controllers/DefaultController.php#L61
Call to static method error() on an unknown class superbig\audit\console\controllers\Console.
|
Run composer phpstan:
src/controllers/DefaultController.php#L37
PHPDoc type array|bool|int of property superbig\audit\controllers\DefaultController::$allowAnonymous is not covariant with PHPDoc type array<int|string>|bool|int of overridden property craft\web\Controller::$allowAnonymous.
|
Run composer phpstan:
src/controllers/DefaultController.php#L84
Parameter #1 $id of method superbig\audit\services\AuditService::getEventsBySessionId() expects null, string given.
|
Run composer phpstan:
src/controllers/GeoController.php#L66
Parameter #1 $status of class yii\web\HttpException constructor expects int, string given.
|
Run composer phpstan:
src/controllers/GeoController.php#L72
Method superbig\audit\controllers\GeoController::actionUpdateDatabase() with return type void returns mixed but should not return anything.
|
Run composer phpstan:
src/controllers/GeoController.php#L78
Method superbig\audit\controllers\GeoController::actionUpdateDatabase() with return type void returns mixed but should not return anything.
|
Run composer phpstan:
src/controllers/GeoController.php#L81
Method superbig\audit\controllers\GeoController::actionUpdateDatabase() with return type void returns mixed but should not return anything.
|
Run composer phpstan:
src/migrations/Install.php#L112
Method craft\db\Connection::getIndexName() invoked with 3 parameters, 0 required.
|
Run composer phpstan:
src/migrations/Install.php#L123
Method craft\db\Connection::getIndexName() invoked with 3 parameters, 0 required.
|
Loading