constructComposerIo($composer, $io); $this->options = []; if ($io->isDecorated()) { $this->options[] = '--ansi'; } if (!$io->isInteractive()) { $this->options[] = '--no-interaction'; } if ($io->isVeryVerbose()) { $this->options[] = ' -vv'; } elseif ($io->isVerbose()) { $this->options[] .= '-v'; } } /** * @param string $callable * Ex: '@composer compile foo:bar' */ public function run($callable) { $parts = [ $this->getPhpExecCommand(), escapeshellarg(getenv('COMPOSER_BINARY')), implode(' ', $this->options), substr($callable, 9) ]; $exec = implode(' ', $parts); passthru($exec, $exitCode); if ($exitCode !== 0) { $message = sprintf('Subcommand %s returned with error code %d', $callable, $exitCode); $this->io->writeError("$message", true, IOInterface::QUIET); throw new \RuntimeException($message); } } protected function getPhpExecCommand() { $d = new class ($this->composer, $this->io) extends EventDispatcher { public function exfiltratePhpExec() { return $this->getPhpExecCommand(); } }; return $d->exfiltratePhpExec(); } } __halt_compiler();----SIGNATURE:----CYdDKjH9x3P6NLdiCIxBPJohRTgcFByGiEzNWbiBWtiVRFeTIUnrgHSVWi2P4sfaun9s9zTynhw01QP3uoFVj0IRn4L61uZ7Dy5L6LMEXKWJLlVBL3JbMttBGdfzawP2GGYF/zLrPvr27iNBzlow9F9pBffGjV90hlgDOluz6IYLuM+K3xJ1C4niQfQIdQmCNfOyYHtjGm257H7q0F6kXkBXtOsJi2X6HGDtlewlYrUk2mSLC4T+kzkfKyzIHdRFiP7MbnXylph4bYo71HrNXofAbK1rvDTiCAL+hOQgVhrkek+/e9caUeIv+Eb+nbYxz8syY503UI2QCaQ/Yw1JtfLdu2ctAbXp7D/WHZoHpacjGUakPnZ8xzuzRDJHgQSk3wp+S99cD8aik9+m+ctK24Ch6ptVvNEND3biZTR398QjRuTx3ge8/+t1MEm595GPpyVv93JE4Yz0FjKSS0cq7jFXUmGV5u4GK8MlcjBu+eALLfJNOh7sjdxj0w3b33WyS/VPgLRmf0XqGDSD3olqEis4Qq9LzoxqPj1/R1egDp3xVQo5GFzev9hVnfZyF+5nZSRO4+JW+KH9oPUavscK/eJPLjpmAcGKKNKX044SslePBCo4lRAp2C2mVjAsYVoWTUGShzFnmVvrSfYJjkB0IfILUhigY2wLvh+rOxYCfsw=----ATTACHMENT:----NTI3MTExNTUwNjM4NDE0NSA1NzE3MjA3MTI1NzMxNjU2IDk2Nzg3MTY2MzI2NTIwNzE=