When the first param of (s)printf is a literal string (otherwise not possible to validate in psalm):
https://psalm.dev/r/4be0b0cec6
The number of params - 1 must match the number of unique placeholders. Atm this reports as "no errors" while in reality this is a fatal error (ArgumentCountError)