src/PHPFormatter/Command/PHPFormatterCommand.php
protected function printInitMessage(
        InputInterface $input,
        OutputInterface $output,
        string $path,
        array $excludes
    ) {
        $output->writeln('# PHP Formatter');

        /*
         * Dry-run message
         */
        if ($input->getOption('dry-run')) {
            $output->writeln('# <info> This process has been executed in mode dry-run');
        }

        $output->writeln('# Executing process in ' . $path);
        foreach ($excludes as $exclude) {
            $output->writeln('#     Path excluded - ' . $exclude);
        }
    }
protected function printInitMessage(
        InputInterface $input,
        OutputInterface $output,
        string $path,
        array $excludes
    ) {
        $output->writeln('# PHP Formatter');

        /*
         * Dry-run message
         */
        if ($input->getOption('dry-run')) {
            $output->writeln('# <info> This process has been executed in mode dry-run');
        }

        $output->writeln('# Executing process in ' . $path);
        foreach ($excludes as $exclude) {
            $output->writeln('#     Path excluded - ' . $exclude);
        }
    }
protected function printInitMessage ( InputInterface $ input , OutputInterface $ output , string $ path , array $ excludes ) { $ output -> writeln ( '# PHP Formatter' ) ; /*
         * Dry-run message
         */ if ( $ input -> getOption ( 'dry-run' ) ) { $ output -> writeln ( '# <info> This process has been executed in mode dry-run' ) ; } $ output -> writeln ( '# Executing process in ' . $ path ) ; foreach ( $ excludes as $ exclude ) { $ output -> writeln ( '#     Path excluded - ' . $ exclude ) ; } }
Print the Dry-run message if needed.

@param InputInterface  $input
@param OutputInterface $output
@param string          $path
@param array           $excludes
Print the Dry - run message if needed .