Open matweew opened 2 years ago
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.
@return
Read the conversation on this issue https://github.com/phpstan/phpstan/issues/4581 for more details.
As I understood the problematic code is in $Model$Query classes and a lot of phpdocs @method inside.
$Model$Query
@method
A possible solution (not checked) is to generate native methods of the class instead of only @method annotations.
We could make a PR to test this and see if that solves the issue.
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 https://github.com/phpstan/phpstan/issues/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.