psalm / psalm-plugin-doctrine

Stubs to let Psalm understand Doctrine better
86 stars 43 forks source link

@template for Query and update docs for EntityRepository #107

Closed dimajolkin closed 2 years ago

dimajolkin commented 2 years ago

psalm level 1 $this->createQueryBuilder('t')->getQuery()->getResult(); Аfter these fixes the psalm stopped swearing on the repository

commit: prevent false-positive ERROR: PropertyNotSetInConstructor moved form https://github.com/psalm/psalm-plugin-doctrine/pull/87

maybe someone else will come in handy, maybe it needs to be improved)

orklah commented 2 years ago

Thanks! We have some CI issues, they seem related to the future realease of Psalm5, I'll try to take a look before I can merge this

orklah commented 2 years ago

Can you rebase? It should be okay now

dimajolkin commented 2 years ago

Fine, Tests passed)

orklah commented 2 years ago

Thanks!