phpBinary = $phpFinder->find(false) ?: 'php'; } protected function runPhpCommand(OutputInterface $output, array $command): void { $command = [$this->phpBinary, ...$command, '--no-interaction']; $this->processRunner->run($output, $command); } protected function getLockConfig(): LockedCommandConfig { return LockedCommandConfig::blocking($this->getName() ?? static::class); } }