Open
Description
All the time when Propel classes are used in your code or just mentioned as phpdoc @return
,
the code generated by Propel2 slowdowns phpstan static analysis process very much.
Read the conversation on this issue phpstan/phpstan#4581 for more details.
As I understood the problematic code is in $Model$Query
classes and a lot of phpdocs @method
inside.
A possible solution (not checked) is to generate native methods of the class instead of only @method
annotations.