function FossilDriver::checkFossil
Check that fossil can be invoked via command line.
1 call to FossilDriver::checkFossil()
- FossilDriver::initialize in vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ FossilDriver.php - @inheritDoc
File
-
vendor/
composer/ composer/ src/ Composer/ Repository/ Vcs/ FossilDriver.php, line 72
Class
- FossilDriver
- @author BohwaZ <http://bohwaz.net/>
Namespace
Composer\Repository\VcsCode
protected function checkFossil() : void {
if (0 !== $this->process
->execute([
'fossil',
'version',
], $ignoredOutput)) {
throw new \RuntimeException("fossil was not found, check that it is installed and in your PATH env.\n\n" . $this->process
->getErrorOutput());
}
}