original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Check environment. If not test, add a notice
  
  @param InputInterface  $input  Input
  @param OutputInterface $output Output
  
  @return $this Self object
docstring_tokens: Check environment . If not test add a notice