Skip to content

refactor: fix type inconsistency #28

refactor: fix type inconsistency

refactor: fix type inconsistency #28

Triggered via pull request December 16, 2023 02:03
Status Failure
Total duration 34s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

phpstan.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

20 errors
PHP 8.1 Static Analysis: src/Commands/QueueWork.php#L193
Call to an undefined method CodeIgniter\Queue\Interfaces\JobInterface::getTries().
PHP 8.1 Static Analysis: src/Commands/QueueWork.php#L193
Expression on left side of ?? is not nullable.
PHP 8.1 Static Analysis: src/Commands/QueueWork.php#L193
Variable $job might not be defined.
PHP 8.1 Static Analysis: src/Commands/QueueWork.php#L195
Call to an undefined method CodeIgniter\Queue\Interfaces\JobInterface::getRetryAfter().
PHP 8.1 Static Analysis: src/Commands/QueueWork.php#L195
Variable $job might not be defined.
PHP 8.1 Static Analysis: src/Handlers/BaseHandler.php#L59
Call to an undefined method CodeIgniter\Queue\Handlers\BaseHandler::push().
PHP 8.1 Static Analysis: src/Handlers/BaseHandler.php#L72
Call to an undefined method CodeIgniter\Queue\Models\QueueJobFailedModel::affectedRows().
PHP 8.1 Static Analysis: src/Handlers/BaseHandler.php#L84
Call to an undefined method CodeIgniter\Queue\Models\QueueJobFailedModel::truncate().
PHP 8.1 Static Analysis: src/Handlers/PredisHandler.php#L97
Parameter #2 $fields of method Predis\ClientInterface::hdel() expects array, int given.
PHP 8.1 Static Analysis: src/Handlers/PredisHandler.php#L112
Parameter #2 $fields of method Predis\ClientInterface::hdel() expects array, int given.
PHP 8.2 Static Analysis: src/Commands/QueueWork.php#L193
Call to an undefined method CodeIgniter\Queue\Interfaces\JobInterface::getTries().
PHP 8.2 Static Analysis: src/Commands/QueueWork.php#L193
Expression on left side of ?? is not nullable.
PHP 8.2 Static Analysis: src/Commands/QueueWork.php#L193
Variable $job might not be defined.
PHP 8.2 Static Analysis: src/Commands/QueueWork.php#L195
Call to an undefined method CodeIgniter\Queue\Interfaces\JobInterface::getRetryAfter().
PHP 8.2 Static Analysis: src/Commands/QueueWork.php#L195
Variable $job might not be defined.
PHP 8.2 Static Analysis: src/Handlers/BaseHandler.php#L59
Call to an undefined method CodeIgniter\Queue\Handlers\BaseHandler::push().
PHP 8.2 Static Analysis: src/Handlers/BaseHandler.php#L72
Call to an undefined method CodeIgniter\Queue\Models\QueueJobFailedModel::affectedRows().
PHP 8.2 Static Analysis: src/Handlers/BaseHandler.php#L84
Call to an undefined method CodeIgniter\Queue\Models\QueueJobFailedModel::truncate().
PHP 8.2 Static Analysis: src/Handlers/PredisHandler.php#L97
Parameter #2 $fields of method Predis\ClientInterface::hdel() expects array, int given.
PHP 8.2 Static Analysis: src/Handlers/PredisHandler.php#L112
Parameter #2 $fields of method Predis\ClientInterface::hdel() expects array, int given.