Open janopae opened 1 year ago
I found these snippets:
I don't think we have that yet. If you want to try your hand at it, it happens here:
Can psalter
add those annotations? Would be nice...
Seems undocumented but yes it can. --issues=MissingPureAnnotation
will do the trick
This is possible currently: https://psalm.dev/r/b2a9011f65
However, the library might change the following way, making it break: https://psalm.dev/r/7e645e6b69
This could be solved by making Psalm require to always explicitly define pureness as part of the method signature. At least, it would be sane to have a warning on missing pure annotations.