Merge pull request #135 from kdambekalns/composer-improvements

Use composer without ANSI output and interaction
This commit is contained in:
Dan Cryer 2013-08-15 08:35:53 -07:00
commit 45a2857c39

View file

@ -36,7 +36,7 @@ class Composer implements \PHPCI\Plugin
*/
public function execute()
{
$cmd = PHPCI_DIR . 'composer.phar '. ($this->preferDist ? '--prefer-dist' : null) .' --working-dir="%s" %s';
$cmd = PHPCI_DIR . 'composer.phar --no-ansi --no-interaction '. ($this->preferDist ? '--prefer-dist' : null) .' --working-dir="%s" %s';
return $this->phpci->executeCommand($cmd, $this->directory, $this->action);
}
}