Avoid using deprecated PHP functions
More information: https://insight.sensiolabs.com/what-we-analyse/php.use_deprecated_function
Updated rule! We've recently tweaked this rule. This may explain the disappearance of false positives, or new violations not linked to any activity in the code.
- // Multiple actions
- $action_ary = $this->request->variable('action', ['' => 0]);
- if (sizeof($action_ary))
- list($this->action,) = each($action_ary);
- // URL parameters