Skip to content

Run PHPStan as a GitHub Action #1

Run PHPStan as a GitHub Action

Run PHPStan as a GitHub Action #1

Triggered via push December 29, 2023 14:17
Status Failure
Total duration 1m 2s
Artifacts

phpstan.yml

on: push
M2 PHPStan
52s
M2 PHPStan
Fit to window
Zoom out
Zoom in

Annotations

8 errors
M2 PHPStan: Helper/JobConfig.php#L45
Method EthanYehuda\CronjobManager\Helper\JobConfig::getJobData() should return array|false but return statement is missing.
M2 PHPStan: Helper/JobConfig.php#L95
Method EthanYehuda\CronjobManager\Helper\JobConfig::constructFrequencyPath() should return string but return statement is missing.
M2 PHPStan: Helper/JobConfig.php#L120
Method EthanYehuda\CronjobManager\Helper\JobConfig::sanitizeJobConfig() should return array but return statement is missing.
M2 PHPStan: Helper/JobConfig.php#L155
Method EthanYehuda\CronjobManager\Helper\JobConfig::parseCronConfigPath() should return string but return statement is missing.
M2 PHPStan: Model/ProcessManagement.php#L18
Method EthanYehuda\CronjobManager\Model\ProcessManagement::isPidAlive() should return bool but return statement is missing.
M2 PHPStan: Model/ProcessManagement.php#L32
Method EthanYehuda\CronjobManager\Model\ProcessManagement::killPid() should return bool but return statement is missing.
M2 PHPStan: Test/Integration/ErrorNotificationTest.php#L139
Anonymous function has an unused use $executed.
M2 PHPStan: Ui/Component/Listing/DataProviders/Cronjobmanager/Config/Grid.php#L130
Method EthanYehuda\CronjobManager\Ui\Component\Listing\DataProviders\Cronjobmanager\Config\Grid::addFilter() should return mixed but return statement is missing.