Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UnslashingFunctionsHelper: make sure function names are checked case-…
…insensitively These functions should be self-contained, so should not presume that the sniff has already lowercased the function name before passing it. This fixes a bug as, in this case, the sniff didn't actually lowercase the name before passing it to the Helper class methods, so the sniff would throw false positives for non-lowercase function calls. Tested by adjusting some pre-existing tests for the `ValidatedSanitizedInput` sniff.
- Loading branch information