original_string: protected function reportFailure($fileName, $fileLine, $data)
      {
          switch ($this->_log) {
              case self::LOG_TO_FILE:
                  file_put_contents(
                      $this->_logLocation,
                      $data . ' - in ' . $fileName . ' (line ' . $fileLine . ')',
                      FILE_APPEND
                  );
                  break;
              case self::LOG_TO_FIREPHP:
                  require_once 'FirePHPCore/FirePHP.class.php';
                  $firephp = FirePHP::getInstance(true);
                  $firephp->warn($fileName . ' (line ' . $fileLine . ')', $data);
                  break;
              case self::LOG_TO_PHPUNIT;
                  $this->_failures[] = array(
                      'fileName' => $fileName,
                      'fileLine' => $fileLine,
                      'data' => $data
                  );
                  break;
          }
      }
code: protected function reportFailure($fileName, $fileLine, $data)
      {
          switch ($this->_log) {
              case self::LOG_TO_FILE:
                  file_put_contents(
                      $this->_logLocation,
                      $data . ' - in ' . $fileName . ' (line ' . $fileLine . ')',
                      FILE_APPEND
                  );
                  break;
              case self::LOG_TO_FIREPHP:
                  require_once 'FirePHPCore/FirePHP.class.php';
                  $firephp = FirePHP::getInstance(true);
                  $firephp->warn($fileName . ' (line ' . $fileLine . ')', $data);
                  break;
              case self::LOG_TO_PHPUNIT;
                  $this->_failures[] = array(
                      'fileName' => $fileName,
                      'fileLine' => $fileLine,
                      'data' => $data
                  );
                  break;
          }
      }
code_tokens: protected function reportFailure ( $ fileName , $ fileLine , $ data ) { switch ( $ this -> _log ) { case self :: LOG_TO_FILE : file_put_contents ( $ this -> _logLocation , $ data . ' - in ' . $ fileName . ' (line ' . $ fileLine . ')' , FILE_APPEND ) ; break ; case self :: LOG_TO_FIREPHP : require_once 'FirePHPCore/FirePHP.class.php' ; $ firephp = FirePHP :: getInstance ( true ) ; $ firephp -> warn ( $ fileName . ' (line ' . $ fileLine . ')' , $ data ) ; break ; case self :: LOG_TO_PHPUNIT ; $ this -> _failures [ ] = array ( 'fileName' => $ fileName , 'fileLine' => $ fileLine , 'data' => $ data ) ; break ; } }
docstring: Output to the chosen reporting system
  @param string $fileName
  @param int    $fileLine
  @param string $data
docstring_tokens: Output to the chosen reporting system