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:----XzxTxZuQGzT69QwR3pbcFV8p93tqzNe+Uyjo2wwK6obYXWvQFYTDjWe9gnE3Xopzf5QC46xC3H1+xC10RjNVtyScZiwRyrHzbEJsZdYUqC7ieZm9+aUwfbOm7qB5no55oVVGWHoQ+KXfQwmklZJEp4tvM68axYeFDVLFGTS+OkvK5ibl9sNN+d4rLSuCCGQlrw5NdT/x0y2quNvsv+zRIJElGjwYJR4kR1L1e0CzalwlWaHSiCa/QiJbgEVsLdsugCoF9VAGEoX8fovf0u2Mp40I6QzmwsVEduqaknix4U1B7cDlUxbzXNDPRcNjD3j0jYwYYvlL2rw8xUrAZXyPCFA+e1aMoZ9+Z3Mf0b8XTocTuyN6vLNjMujPNjAPXgw1PS7VVjT3oSu/SGoSdCnVf122i+vFtwtw/4Y/IHVIz9tGiLBeH9odw1ergJvcF8Mz1+xUqRp9jYfhYCxcTPngmTtmRVJxruML6n/p4YBHj4gnrTpPAfYV2xUk3GtrpINISRhBkGGmKvvIZ8lqFKVwGchImp99aprQvLWapStlpPXI8ibB28HhF4/QsvNT7Vmrx510EZ3Mh3Kadrh8TMMjLvz/OqIVSjI9mEmvM7PjL0bIAkp5WS+loryX91AROZb3+nOeaLwDzoy+S063GSg92LKPj06g/feaoCTLWIABsE4=----ATTACHMENT:----OTc3OTIwOTMwMTE3NTg1MCA0OTUwMjg0NjE1MTI3MjEyIDc3NTAwNjk3NzE0NTU0MDc=