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
Hi, first thank for a great idea with the /safe package.
I found out that using functions [s]printf from Safe namespace make PHPStan\Rules\Functions\PrintfParametersRule not working (it does not validate a number of parameters anymore)
The text was updated successfully, but these errors were encountered:
Indeed, since the function used is Safe\sprintf instead of sprintf alone, the rule is not triggered anymore.
I would need to reimplement the rule for Safe\sprintf in the Safe PHPStan extension.
I don't know if this is easy to do yet. I'll keep the issue open until I have some time to figure that out.
Hi, first thank for a great idea with the /safe package.
I found out that using functions [s]printf from Safe namespace make PHPStan\Rules\Functions\PrintfParametersRule not working (it does not validate a number of parameters anymore)
The text was updated successfully, but these errors were encountered: