processHelper = $processHelper; $this->phpBinary = $phpFinder->find(false) ?: 'php'; } protected function runPhpCommand(OutputInterface $output, array $command): void { array_unshift($command, $this->phpBinary); $this->processHelper->mustRun($output, $command); } protected function getLockConfig(): LockedCommandConfig { return new LockedCommandConfig($this->getName(), true); } }