src/Visithor/Command/GoCommand.php
protected function checkEnvironment(
        InputInterface $input,
        OutputInterface $output
    ) {
        $env = $input
            ->getParameterOption(
                ['--env', '-e'],
                getenv('SYMFONY_ENV') ?: 'dev'
            );

        if ('test' != $env) {
            $output->writeln('<bg=red>  </bg=red> <fg=red>Warning, make sure your tests are being run against testing environments</fg=red>');
        }

        return $this;
    }
protected function checkEnvironment(
        InputInterface $input,
        OutputInterface $output
    ) {
        $env = $input
            ->getParameterOption(
                ['--env', '-e'],
                getenv('SYMFONY_ENV') ?: 'dev'
            );

        if ('test' != $env) {
            $output->writeln('<bg=red>  </bg=red> <fg=red>Warning, make sure your tests are being run against testing environments</fg=red>');
        }

        return $this;
    }
protected function checkEnvironment ( InputInterface $ input , OutputInterface $ output ) { $ env = $ input -> getParameterOption ( [ '--env' , '-e' ] , getenv ( 'SYMFONY_ENV' ) ? : 'dev' ) ; if ( 'test' != $ env ) { $ output -> writeln ( '<bg=red>  </bg=red> <fg=red>Warning, make sure your tests are being run against testing environments</fg=red>' ) ; } return $ this ; }
Check environment. If not test, add a notice

@param InputInterface  $input  Input
@param OutputInterface $output Output

@return $this Self object
Check environment . If not test add a notice