src/main/php/CommandLine/Commands/Checks/ForbiddenChangesCommand.php
private function publishFindingsToUser(OutputInterface $output, array $wrongfullyChangedFiles)
    {
        if (empty($wrongfullyChangedFiles)) {
            $output->writeln('All good!');
        } else {
            $output->writeln(
                'The following files violate change constraints: ' . PHP_EOL
                . implode(PHP_EOL, $wrongfullyChangedFiles)
            );
        }
    }
private function publishFindingsToUser(OutputInterface $output, array $wrongfullyChangedFiles)
    {
        if (empty($wrongfullyChangedFiles)) {
            $output->writeln('All good!');
        } else {
            $output->writeln(
                'The following files violate change constraints: ' . PHP_EOL
                . implode(PHP_EOL, $wrongfullyChangedFiles)
            );
        }
    }
private function publishFindingsToUser ( OutputInterface $ output , array $ wrongfullyChangedFiles ) { if ( empty ( $ wrongfullyChangedFiles ) ) { $ output -> writeln ( 'All good!' ) ; } else { $ output -> writeln ( 'The following files violate change constraints: ' . PHP_EOL . implode ( PHP_EOL , $ wrongfullyChangedFiles ) ) ; } }
Communicates the result to the User.

@param OutputInterface $output
@param string[]        $wrongfullyChangedFiles
Communicates the result to the User .