Esempio n. 1
0
 protected function runCommandRecursive($command)
 {
     $phpbrew = new PhpBrew();
     foreach ($this->getVersions() as $version) {
         $this->logger->info("Running `{$command}` for php-{$version}");
         $phpbrew->run(preg_split('#\\s+#', $command), $version, !$this->options->debug);
     }
     $this->logger->success("Done!");
 }
Esempio n. 2
0
 protected function runCommandRecursive($command)
 {
     $phpbrew = new PhpBrew();
     foreach ($this->getVersions() as $version) {
         $this->logger->info($this->formatter->format("Running `{$command}` for php-{$version}:", 'bold'));
         $output = trim($phpbrew->run(preg_split('#\\s+#', $command), $version, true));
         if (!empty($output)) {
             $this->logger->info($output);
         }
     }
 }