function ComponentTestDoesNotExtendCoreTest::getNodeType

Same name and namespace in other branches
  1. 11.x core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php \Drupal\PHPStan\Rules\ComponentTestDoesNotExtendCoreTest::getNodeType()

File

core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php, line 36

Class

ComponentTestDoesNotExtendCoreTest
Ensures that no component tests are extending a core test base class.

Namespace

Drupal\PHPStan\Rules

Code

public function getNodeType() : string {
  return InClassNode::class;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.