<?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();
	}

	/**
	 * process the
	 */
	public function process() {
		$this->task->run(new SS_HTTPRequest());
	}
}

<?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;
	}
}

Implement the job better - minor bugfix
Implement the job better - minor bugfix
