orklah
orklah
Hi! This topic is being discussed here: #32
FYI: doctrine/orm now has native template annotations since 2.8: https://github.com/doctrine/orm/pull/8289 However, there could be a flurry of new issues coming from new major versions of doctrine, starting from doctrine/dbal V3.0.0...
oh, thanks for the listing. I added ClassMetadataInfo.php to an open PR I had in doctrine/orm. I'm not sure about QueryBuilder.php because the stub don't match the real signature for...
For any reader in the future or those who don't follow these things, here's a statement from @muglug about the future of Psalm: https://muglug.medium.com/my-incredible-journey-with-php-df45d72ba2a5 This package has been moved to...
Seems cool! Can you propose a PR based on this?
DbalException was introduced on 2.1 here: https://github.com/psalm/psalm-plugin-doctrine/compare/v2.0.1...v2.1.0#diff-4c0849c859bac15c400cdc77fdcc69abd0de5d275cc99832b1c7fffd55e68d0dR75 Can you make sure you actually have it in your dependencies?
Well, I'm not sure what is causing the issue, but as stubs are loaded before anything else, it's possible that we need to stub the exception too. Care to propose...
I guess stubbing the Exception as I was mentionning above should solve the issue
Do you have a snippet that shows what it is supposed to resolve? there's a lot I didn't understand in your message!
> Sorry, I seem to habitually underexplain what I'm trying to do don't worry, it seems universal. I have a hard time on a lot of PRs in psalm's repo!...