From aa7eb61088dd30adf79c52c146e7be1dc2d1fcd9 Mon Sep 17 00:00:00 2001 From: William DURAND Date: Thu, 5 May 2011 19:17:12 +0200 Subject: [PATCH] Fixed PhingCommand --- Command/PhingCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Command/PhingCommand.php b/Command/PhingCommand.php index 38cb880..a8e39de 100644 --- a/Command/PhingCommand.php +++ b/Command/PhingCommand.php @@ -122,7 +122,7 @@ abstract class PhingCommand extends Command $args[] = '-f'; $args[] = realpath($kernel->getContainer()->getParameter('propel.path').'/generator/build.xml'); - $bufferPhingOutput = $kernel->getContainer()->getParameter('kernel.debug'); + $bufferPhingOutput = !$kernel->getContainer()->getParameter('kernel.debug'); // Add any arbitrary arguments last foreach ($this->additionalPhingArgs as $arg) { @@ -169,7 +169,7 @@ abstract class PhingCommand extends Command $container = $this->getApplication()->getKernel()->getContainer(); if (!$container->has('propel.configuration')) { - throw new \InvalidArgumentException('Could not find Propel configuration.'); + throw new \InvalidArgumentException('Could not find Propel configuration.'); } $xml = strtr(<<