mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	Add configurable composer_cmd parameter
This commit is contained in:
		
							parent
							
								
									48420c1c2a
								
							
						
					
					
						commit
						95ffed7e12
					
				@ -21,7 +21,7 @@ abstract class ComposerAbstractTask extends AbstractTask
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
    protected function getComposerCmd()
 | 
					    protected function getComposerCmd()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        $composerCmd = $this->getParameter('composer_cmd', 'php composer.phar');
 | 
				
			||||||
        return $this->getConfig()->general('composer_cmd', 'php composer.phar');
 | 
					        return $this->getConfig()->general('composer_cmd', $composerCmd);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user