<?php
/**
 * Composer update checker job. Runs the check as a queuedjob.
 *
 * @author Peter Thaleikis
 * @license MIT
 */
class CheckComposerUpdatesJob extends AbstractQueuedJob implements QueuedJob
{
    /**
     * The task to run
     *
     * @var BuildTask
     */
    protected $task;

    /**
     * define the title
     *
     * @return string
     */
    public function getTitle()
    {
        return _t(
            'ComposerUpdateChecker.Title',
            'Check if composer updates are available'
        );
    }

    /**
     * define the type.
     */
    public function getJobType()
    {
        $this->totalSteps = 1;

        return QueuedJob::QUEUED;
    }

    /**
     * init
     */
    public function setup()
    {
        // create the instance of the task
        $this->task = new CheckComposerUpdatesTask();
    }

    /**
     * processes the task as a job
     */
    public function process()
    {
        // run the task
        $this->task->run(new SS_HTTPRequest());

        // mark job as completed
        $this->isComplete = true;
    }
}

<?php
/**
 * Composer update checker job. Runs the check as a queuedjob.
 *
 * @author Peter Thaleikis
 * @license MIT
 */
class CheckComposerUpdatesJob extends AbstractQueuedJob implements QueuedJob
{
    /**
     * The task to run
     *
     * @var BuildTask
     */
    protected $task;

    /**
     * define the title
     *
     * @return string
     */
    public function getTitle()
    {
        return _t(
            'ComposerUpdateChecker.Title',
            'Check if composer updates are available'
        );
    }

    /**
     * define the type.
     */
    public function getJobType()
    {
        $this->totalSteps = 1;

        return QueuedJob::QUEUED;
    }

    /**
     * init
     */
    public function setup()
    {
        // create the instance of the task
        $this->task = new CheckComposerUpdatesTask();
    }

    /**
     * processes the task as a job
     */
    public function process()
    {
        // run the task
        $this->task->run(new SS_HTTPRequest('GET', '/'));

        // mark job as completed
        $this->isComplete = true;
    }
}

FIX Ensure required HTTPRequest arguments are provided
FIX Ensure required HTTPRequest arguments are provided
