function TestClassMethodMetadataTest::getRule
Same name and namespace in other branches
- 11.x core/tests/PHPStan/tests/TestClassMethodMetadataTest.php \Drupal\PHPStan\Tests\TestClassMethodMetadataTest::getRule()
File
-
core/
tests/ PHPStan/ tests/ TestClassMethodMetadataTest.php, line 29
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.