function ComponentTestDoesNotExtendCoreTestTest::getRule

File

core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php, line 20

Class

ComponentTestDoesNotExtendCoreTestTest
Tests ComponentTestDoesNotExtendCoreTest rule.

Namespace

Drupal\PHPStan\Tests

Code

protected function getRule() : Rule {
    return new ComponentTestDoesNotExtendCoreTest();
}

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