processHelper = $processHelper; $this->phpBinary = $phpFinder->find(false) ?: 'php'; } protected function runPhpCommand(OutputInterface $output, array $command): void { array_unshift($command, $this->phpBinary); $this->processHelper->run($output, $command, null, null, $output->getVerbosity()); } }