FileCommentUnitTest.php in Coder 8.2        
                          
                  
                        
  
  
  
  
  
File
  coder_sniffer/Drupal/Test/Commenting/FileCommentUnitTest.php
  
    View source  
  <?php
namespace Drupal\Sniffs\Commenting;
use Drupal\Test\CoderSniffUnitTest;
class FileCommentUnitTest extends CoderSniffUnitTest {
  
  public function getErrorList($testFile = NULL) {
    switch ($testFile) {
      case 'FileCommentUnitTest.inc':
        return array(
          1 => 1,
        );
      case 'FileCommentUnitTest.1.inc':
        return array(
          3 => 1,
        );
      case 'FileCommentUnitTest.2.inc':
        return array(
          4 => 1,
        );
      case 'FileCommentUnitTest.3.inc':
        return array(
          4 => 1,
        );
      case 'FileCommentUnitTest.4.inc':
        return array(
          3 => 1,
        );
      case 'FileCommentUnitTest.5.inc':
        return array(
          1 => 1,
        );
      case 'FileCommentUnitTest.6.inc':
        return array(
          3 => 1,
        );
      case 'FileCommentUnitTest.7.inc':
        return array();
      case 'FileCommentUnitTest.8.inc':
        return array(
          3 => 1,
        );
      case 'FileCommentUnitTest.9.inc':
        return array(
          3 => 1,
        );
      case 'FileCommentUnitTest.10.inc':
        return array(
          4 => 1,
        );
      case 'FileCommentUnitTest.11.inc':
        return array(
          4 => 1,
        );
    }
  }
  
  
  public function getWarningList($testFile = NULL) {
    return array();
  }
}