You are here

protected function GoodUnitTest::allSniffCodes in Coder 8.2

Same name in this branch
  1. 8.2 coder_sniffer/DrupalPractice/Test/good/GoodUnitTest.php \DrupalPractice\good\GoodUnitTest::allSniffCodes()
  2. 8.2 coder_sniffer/Drupal/Test/good/GoodUnitTest.php \Drupal\good\GoodUnitTest::allSniffCodes()

Returns a list of sniff codes that should be checked in this test.

Return value

array The list of sniff codes.

Overrides CoderSniffUnitTest::allSniffCodes

File

coder_sniffer/Drupal/Test/good/GoodUnitTest.php, line 72

Class

GoodUnitTest
Unit test class for all good files that must not throw errors/warnings.

Namespace

Drupal\good

Code

protected function allSniffCodes() {

  // We want to test all sniffs defined in the standard.
  return TRUE;
}