-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
breaking changePull requests that may break existing functionalitiesPull requests that may break existing functionalitiesdevwaiting for infoIssues or pull requests that need further clarification from the authorIssues or pull requests that need further clarification from the author
Description
Example:
$_GET['foo'] = 1;
var_export($_GET); // ['foo' => 1]
var_export(filter_input_array(INPUT_GET)); // []As you can see filter_input_array() return initial data, it's better use in CI because users (or vendor packages) can change globals before calling CI methods.
If there are no objections, then I will replace direct access to global variables everywhere. I will write sniff to fix this problem in future too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking changePull requests that may break existing functionalitiesPull requests that may break existing functionalitiesdevwaiting for infoIssues or pull requests that need further clarification from the authorIssues or pull requests that need further clarification from the author