Fixing bug in Builder related to the new PHPCI\Store

This commit is contained in:
Dan Cryer 2014-02-25 16:59:28 +00:00
parent eaec52b525
commit d2d966ee69

View file

@ -14,8 +14,8 @@ use PHPCI\Helper\CommandExecutor;
use PHPCI\Helper\MailerFactory; use PHPCI\Helper\MailerFactory;
use PHPCI\Logging\BuildLogger; use PHPCI\Logging\BuildLogger;
use PHPCI\Model\Build; use PHPCI\Model\Build;
use b8\Store;
use b8\Config; use b8\Config;
use b8\Store\Factory;
use Psr\Log\LoggerAwareInterface; use Psr\Log\LoggerAwareInterface;
use Psr\Log\LoggerInterface; use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel; use Psr\Log\LogLevel;
@ -114,7 +114,7 @@ class Builder implements LoggerAwareInterface
public function __construct(Build $build, LoggerInterface $logger = null) public function __construct(Build $build, LoggerInterface $logger = null)
{ {
$this->build = $build; $this->build = $build;
$this->store = Store\Factory::getStore('Build'); $this->store = Factory::getStore('Build');
$this->buildLogger = new BuildLogger($logger, $build); $this->buildLogger = new BuildLogger($logger, $build);