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
The security preset for architecture testing reports parse_str as disallowed. However, the problematic behavior of this function has been deprecated since PHP 7.2 and removed since PHP 8 when the second parameter become mandatory. With the second parameter the security issue where parse_str would overwrite local variables is mitigated.
How to Reproduce
Use the architecture test with security preset: arch()->preset()->security();
And then use parse_str in your checked code.
Sample Repository
No response
Pest Version
3.0.4
PHP Version
8.3.11
Operation System
macOS
Notes
No response
The text was updated successfully, but these errors were encountered:
What Happened
The security preset for architecture testing reports
parse_str
as disallowed. However, the problematic behavior of this function has been deprecated since PHP 7.2 and removed since PHP 8 when the second parameter become mandatory. With the second parameter the security issue whereparse_str
would overwrite local variables is mitigated.How to Reproduce
Use the architecture test with security preset:
arch()->preset()->security();
And then use
parse_str
in your checked code.Sample Repository
No response
Pest Version
3.0.4
PHP Version
8.3.11
Operation System
macOS
Notes
No response
The text was updated successfully, but these errors were encountered: