original_string: private function reportOnProcesses(InputInterface $input, OutputInterface $output)
      {
          $style = new SymfonyStyle($input, $output);
  
          $result = 0;
          foreach ($this->processes as $name => $process) {
              $style->newLine();
  
              echo $process->getOutput();
  
              if (!$process->isSuccessful()) {
                  $result = 1;
                  $style->error(sprintf('Command %s failed', $name));
              }
              $errorOutput = $process->getErrorOutput();
              if (!empty($errorOutput)) {
                  $style->error(sprintf('Error output for %s command', $name));
                  $style->writeln($errorOutput);
              }
          }
  
          return $result;
      }
code: private function reportOnProcesses(InputInterface $input, OutputInterface $output)
      {
          $style = new SymfonyStyle($input, $output);
  
          $result = 0;
          foreach ($this->processes as $name => $process) {
              $style->newLine();
  
              echo $process->getOutput();
  
              if (!$process->isSuccessful()) {
                  $result = 1;
                  $style->error(sprintf('Command %s failed', $name));
              }
              $errorOutput = $process->getErrorOutput();
              if (!empty($errorOutput)) {
                  $style->error(sprintf('Error output for %s command', $name));
                  $style->writeln($errorOutput);
              }
          }
  
          return $result;
      }
code_tokens: private function reportOnProcesses ( InputInterface $ input , OutputInterface $ output ) { $ style = new SymfonyStyle ( $ input , $ output ) ; $ result = 0 ; foreach ( $ this -> processes as $ name => $ process ) { $ style -> newLine ( ) ; echo $ process -> getOutput ( ) ; if ( ! $ process -> isSuccessful ( ) ) { $ result = 1 ; $ style -> error ( sprintf ( 'Command %s failed' , $ name ) ) ; } $ errorOutput = $ process -> getErrorOutput ( ) ; if ( ! empty ( $ errorOutput ) ) { $ style -> error ( sprintf ( 'Error output for %s command' , $ name ) ) ; $ style -> writeln ( $ errorOutput ) ; } } return $ result ; }
docstring: Report on the completed processes.
  
  @param InputInterface  $input
  @param OutputInterface $output
  
  @return int
docstring_tokens: Report on the completed processes .