function TestClassMethodMetadataTest::getRule
File
-
core/
tests/ PHPStan/ tests/ TestClassMethodMetadataTest.php, line 27
Class
- TestClassMethodMetadataTest
- Tests TestClassMethodMetadata rule.
Namespace
Drupal\PHPStan\TestsCode
protected function getRule() : Rule {
return new TestClassMethodMetadata(self::getContainer()->getByType(ReflectionProvider::class), self::getContainer()->getByType(FileTypeMapper::class));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.