When defining a repository function, the join autocomplete is not working. From earlier versions (both Symfony and PHPStorm), I know this worked before.
I am able to reproduce this on a blank Symfony project.
PhpStorm version: PhpStorm 2023.2.4 (Build #PS-232.10227.13, built on November 18, 2023)
Symfony support version 2022.1.261
public function testJoin(User $user)
{
return $this->createQueryBuilder('p')
->join('p.postUser','post_user')
->andWhere('post_user.id = :id')->setParameter('id',$user)
->getQuery()
->getResult();
}
I can reproduce this with a blank Symfony project. composer.json:
When defining a repository function, the join autocomplete is not working. From earlier versions (both Symfony and PHPStorm), I know this worked before.
I am able to reproduce this on a blank Symfony project.
I can reproduce this with a blank Symfony project. composer.json:
It is able to see the ManyToOne in the autocomplete dialog, in the "where" function:
But it is NOT able to see it when defining a join: