You are here

protected function GoodUnitTest::checkAllSniffCodes in Coder 8.3.x

Same name in this branch
  1. 8.3.x tests/DrupalPractice/good/GoodUnitTest.php \DrupalPractice\Test\good\GoodUnitTest::checkAllSniffCodes()
  2. 8.3.x tests/Drupal/good/GoodUnitTest.php \Drupal\Test\good\GoodUnitTest::checkAllSniffCodes()
Same name and namespace in other branches
  1. 8.3 tests/DrupalPractice/good/GoodUnitTest.php \DrupalPractice\Test\good\GoodUnitTest::checkAllSniffCodes()

False if just the current sniff should be checked, true if all sniffs should be checked.

Return value

bool

Overrides CoderSniffUnitTest::checkAllSniffCodes

File

tests/DrupalPractice/good/GoodUnitTest.php, line 70

Class

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

Namespace

DrupalPractice\Test\good

Code

protected function checkAllSniffCodes() {

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