You are here

trait TestTrait in Coder 8.2

Same name and namespace in other branches
  1. 8.3 tests/DrupalPractice/Objects/StrictSchemaDisabledUnitTest.inc \TestTrait
  2. 8.3 tests/Drupal/Scope/MethodScopeUnitTest.inc \TestTrait
  3. 8.3.x tests/DrupalPractice/Objects/StrictSchemaDisabledUnitTest.inc \TestTrait
  4. 8.3.x tests/Drupal/Scope/MethodScopeUnitTest.inc \TestTrait

Hierarchy

File

coder_sniffer/Drupal/Test/Scope/MethodScopeUnitTest.inc, line 3

View source
trait TestTrait {

  /**
   * Function visibility is missing here.
   */
  function foo() {
  }

  /**
   * Visibility is missing here and should be auto-fixed correctly.
   */
  static function bar() {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
TestTrait::bar static function Visibility is missing here and should be auto-fixed correctly.
TestTrait::foo function Function visibility is missing here.