original_string: private function resolveOptions(InputInterface $input)
      {
          $options = [];
          if ($this->supportsCoverage() && $input->getOption('coverage-text')) {
              $options[] = '--coverage-text';
          }
          if ($this->supportsCoverage() && $input->getOption('coverage-clover')) {
              $options[] = sprintf('--coverage-clover %s/coverage.xml', getcwd());
          }
          if (is_file($this->plugin->directory.'/phpunit.xml')) {
              $options[] = sprintf('--configuration %s', $this->plugin->directory);
          } else {
              $options[] = sprintf('--testsuite %s_testsuite', $this->plugin->getComponent());
          }
  
          return implode(' ', $options);
      }
code: private function resolveOptions(InputInterface $input)
      {
          $options = [];
          if ($this->supportsCoverage() && $input->getOption('coverage-text')) {
              $options[] = '--coverage-text';
          }
          if ($this->supportsCoverage() && $input->getOption('coverage-clover')) {
              $options[] = sprintf('--coverage-clover %s/coverage.xml', getcwd());
          }
          if (is_file($this->plugin->directory.'/phpunit.xml')) {
              $options[] = sprintf('--configuration %s', $this->plugin->directory);
          } else {
              $options[] = sprintf('--testsuite %s_testsuite', $this->plugin->getComponent());
          }
  
          return implode(' ', $options);
      }
code_tokens: private function resolveOptions ( InputInterface $ input ) { $ options = [ ] ; if ( $ this -> supportsCoverage ( ) && $ input -> getOption ( 'coverage-text' ) ) { $ options [ ] = '--coverage-text' ; } if ( $ this -> supportsCoverage ( ) && $ input -> getOption ( 'coverage-clover' ) ) { $ options [ ] = sprintf ( '--coverage-clover %s/coverage.xml' , getcwd ( ) ) ; } if ( is_file ( $ this -> plugin -> directory . '/phpunit.xml' ) ) { $ options [ ] = sprintf ( '--configuration %s' , $ this -> plugin -> directory ) ; } else { $ options [ ] = sprintf ( '--testsuite %s_testsuite' , $ this -> plugin -> getComponent ( ) ) ; } return implode ( ' ' , $ options ) ; }
docstring: Resolve options for PHPUnit command.
  
  @param InputInterface $input
  
  @return string
docstring_tokens: Resolve options for PHPUnit command .