mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-09 06:48:57 +02:00
Add possibility for defining the composer_cmd in the global config.
This commit is contained in:
@@ -21,7 +21,7 @@ abstract class ComposerAbstractTask extends AbstractTask
|
|||||||
{
|
{
|
||||||
protected function getComposerCmd()
|
protected function getComposerCmd()
|
||||||
{
|
{
|
||||||
$composerCmd = $this->getParameter('composer_cmd', 'php composer.phar');
|
$composerCmd = $this->getParameter('composer_cmd', $this->getConfig()->general('composer_cmd', 'php composer.phar'));
|
||||||
return $this->getConfig()->general('composer_cmd', $composerCmd);
|
return $this->getConfig()->general('composer_cmd', $composerCmd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user