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
PHPStan 1.9.14 doesn't check the required number of params correctly at PDO::sqliteCreateFunction. I did not check if the same occurs in previous versions.
Did PHPStan help you today? Did it make you happy in any way?
Where I work we use phpstan in every single PHP project and it helps a lot! As a beginner programmer, I am living prove that the assertions are accurate and the errors are very friendly :) please, don't stop the great work!
The text was updated successfully, but these errors were encountered:
denis-rossati
changed the title
Wrong parameter number assertion in PDO::sqliteCreateFunction
Wrong parameter infer in PDO::sqliteCreateFunctionJan 30, 2023
Bug report
PHPStan 1.9.14 doesn't check the required number of params correctly at
PDO::sqliteCreateFunction
. I did not check if the same occurs in previous versions.Code snippet that reproduces the problem
Expected output
The documentation states that you can pass up to 4 parameters, therefore I expected 0 errors.
Did PHPStan help you today? Did it make you happy in any way?
Where I work we use phpstan in every single PHP project and it helps a lot! As a beginner programmer, I am living prove that the assertions are accurate and the errors are very friendly :) please, don't stop the great work!
The text was updated successfully, but these errors were encountered: