protected static function getPhp()
{
$phpFinder = new PhpExecutableFinder();
if (!($phpPath = $phpFinder->find())) {
throw new \RuntimeException('The php executable could not be found, add it to your PATH environment variable and try again');
}
return $phpPath;
}