function ComponentTestDoesNotExtendCoreTestTest::getRule
Same name and namespace in other branches
- 11.x core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php \Drupal\PHPStan\Tests\ComponentTestDoesNotExtendCoreTestTest::getRule()
File
-
core/
tests/ PHPStan/ tests/ ComponentTestDoesNotExtendCoreTestTest.php, line 23
Class
- ComponentTestDoesNotExtendCoreTestTest
- Tests ComponentTestDoesNotExtendCoreTest rule.
Namespace
Drupal\PHPStan\TestsCode
protected function getRule() : Rule {
return new ComponentTestDoesNotExtendCoreTest(self::getContainer()->getByType(ReflectionProvider::class));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.