function ComponentTestDoesNotExtendCoreTest::getNodeType

File

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

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.