Feature: RepositoryStringShortcut In order to follow best practices for Symfony As a Psalm user I need Psalm to check preferred repository syntax Background: Given I have the following config """ """ Scenario: Asserting using 'AppBundle:Entity' syntax raises issue Given I have the following code """ getRepository('AppBundle:Entity'); } } namespace Doctrine\ORM; interface EntityManagerInterface { /** * @param string $className * * @return void */ public function getRepository($className); } """ When I run Psalm Then I see these errors | Type | Message | | RepositoryStringShortcut | Use Entity::class syntax instead | And I see no other errors