You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixvimeo#9819
This PR is a starting point for improving the sprintf return type and eventually validate the format, param types and param count.
(see vimeo#9817, vimeo#9818)
Fixvimeo#9819
This PR is a starting point for improving the sprintf return type and eventually validate the format, param types and param count.
(see vimeo#9817, vimeo#9818)
kkmuffme
added a commit
to kkmuffme/psalm
that referenced
this issue
May 30, 2023
Fixvimeo#9819
This PR is a starting point for improving the sprintf return type and eventually validate the format, param types and param count.
(see vimeo#9817, vimeo#9818)
When the first param of (s)printf is a literal string (otherwise not possible to validate in psalm):
https://psalm.dev/r/7749cadcab
[bcdouxX]
[eEfFgGhH]
type should be floats
should be type string (if we want to be less strict allow int|float|string like now)Would be the next step after #9817
The text was updated successfully, but these errors were encountered: