Skip to content

Fix complaints from PHPStan #2

Fix complaints from PHPStan

Fix complaints from PHPStan #2

Re-run triggered January 8, 2024 11:48
Status Failure
Total duration 1m 9s
Artifacts

phpstan.yml

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

Annotations

6 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.