5 ms·
Psalm has levels – higher levels show fewer warnings (just like in PHPStan). Maybe the `@psalm-ignore-nullable-return` annotation is more appropriate for those
by muglug 6y ago
Psalm has levels – higher levels show fewer warnings (just like in PHPStan).
Maybe the `@psalm-ignore-nullable-return` annotation is more appropriate for those methods?
Do you use the Doctrine plugin?
- mhitza 6y agoI set these kinds of tools up to the highest level possible. In my opinion that is where you get the highest value from them. I was not aware of the any psalm doctrine plugin and will definitely have a look at it. Thanks for the suggestion. In terms of @psalm-ignore-nullable-return annotation. That definitely sounds like a practical workaround, at the moment.