Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in function name comparison.
AbstractFunctionRestrictionsSniff did not allow for case-insensitive comparison of function names. > **Note**: Function names are case-insensitive, though it is usually good form to call functions as they appear in their declaration. Ref: http://php.net/manual/en/functions.user-defined.php Also: * Better be safe than sorry, so `preg_quote()`-ing the function names passed to this class. * Minor memory management improvement: no need to remember the matched function name.
- Loading branch information