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;
    }
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;
    }
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 ; }
Report on the completed processes.

@param InputInterface  $input
@param OutputInterface $output

@return int
Report on the completed processes .