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:----mauocOwfJIsqf3oH78PZ1nSnYSBBx+ZRHFv+YxHy0YrK5p7o7dFsKGyTgFQGxlebxBAaIBBCJzVgjb9PFMVFBqnf9dlfdOn7NqPsiwIp6RGRwb/eqbIM7Bs4ryv2KRw+V6BaAxnRXTYTMi1j4qch5fOhlgR//VrxvQLH1fkntuMNK1boYihPASC+iMNeYD1kpPUpQ/6OQH1OYWnAT1XfPMwxkUiGGJIKUvlyrSEiIE7hqyoGc9c16/e9uOmCDz5DNaNrzKCJZO3DA8ei1n5QmdfKp9JMpH+rIet/oStWkTYh+MpkQsWmCIUGOZjBicrqMrmSh3WaVK9YcgLCTwaPqbMVTUXyjcg5eX1akzE8JCgKIo38lD6ob9G51Z0wJkQT5ZOrxhIxWle2s2R6mZ0qd7mR57zckIPCipaLRBUN5pzTczhA758EyybthkGah6MUStNOwvHNEOgB8GxDt5eEA0Ds15+Ind3nNq7aOIV9Yfb1u7v6DdfhiXQy9Tq46DZ4MlmkKJe1IDiT59DKicMkVQ+rIH63YgbaydkEB5EwikYVVVmOeYouZeUvY/64zlbSkdKc1rwUK4JruDMSjjj6BXtHNj/RquHQoAbk0vEu/fDe2ObduYQaNMhVxfBE5AsVJzxsQcWuK2Cd8Ob00z+TUNa686B9y9BQAWdWsy5POCw=----ATTACHMENT:----NjU5OTkwMjQ2NzIyNjg0MCA2NjI5NDgxNzA2NTEwMzIwIDMxMTY3Mjc2Nzg4MTgzNzU=