A
A
ak_wi2020-01-09 23:40:07
symfony
ak_wi, 2020-01-09 23:40:07

How to make symfony plugin for PHPStorm see methods created in repositories?

Available: Symfony 5.0.2, PHPStorm 2019.1.1, Symfony Support v0.18.183
In projects with Symfony 4.3. everything works fine, the IDE does not swear if I make a call like $em->getRepository(MyClass::class)->someCustomFoo($param);
But in a project with Symfony 5, the IDE does not see someCustomFoo in the App\Repository for MyClass point-blank, it says that there is no such function. Although the function is there and the code works. How to fix it?
I would not like to turn off warnings or prescribe something in the comments with my hands

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question