Merge pull request #206 from elkangaroo/master

Fixed LoggedBuildContextTidier (replace "build" object with "buildID")
This commit is contained in:
Steve B 2013-11-13 01:11:05 -08:00
commit 2b9302f9fc
2 changed files with 4 additions and 3 deletions

View file

@ -249,7 +249,7 @@ class Builder implements LoggerAwareInterface
// The build is added to the context so the logger can use
// details from it if required.
$context['build'] = $this;
$context['build'] = $this->build;
foreach ($message as $item) {
$this->logger->log($level, $item, $context);

View file

@ -2,9 +2,10 @@
namespace PHPCI\Helper;
use PHPCI\Model\Build;
class LoggedBuildContextTidier{
class LoggedBuildContextTidier
{
function __invoke()
{
return $this->tidyLoggedBuildContext(func_get_arg(0));