lightster/hodor

View on GitHub
src/Hodor/Database/Adapter/Postgres/Superqueuer.php

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 2 of 2 total issues

Method processScheduledJobs has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

private function processScheduledJobs()
{
$sql = <<<SQL
INSERT INTO buffered_jobs
(
Severity: Minor
Found in src/Hodor/Database/Adapter/Postgres/Superqueuer.php - About 1 hr to fix

Method getJobsToRunGenerator has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

public function getJobsToRunGenerator()
{
$this->processScheduledJobs();
 
$sql = <<<SQL
Severity: Minor
Found in src/Hodor/Database/Adapter/Postgres/Superqueuer.php - About 1 hr to fix
Category
Status