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
parse_str() without second argument is restricted.
Using this function without the result parameter is highly DISCOURAGED and DEPRECATED as of PHP 7.2. As of PHP 8.0.0, the result parameter is mandatory.
Developing sniff using AbstractFunctionParameterSniff would be most feasible route I believe.
The text was updated successfully, but these errors were encountered:
Do you mean adding PHPCompatibility.FunctionUse.OptionalToRequiredFunctionParameters or whole PHPCompatibility? I will discuss it in the team meeting accordingly.
Regarding parse_str() particularly, currently it is enforced in internal scanner for any PHP version. Would it be possible to customize OptionalToRequiredFunctionParametersSniff class?
parse_str()
without second argument is restricted.Developing sniff using
AbstractFunctionParameterSniff
would be most feasible route I believe.The text was updated successfully, but these errors were encountered: