Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHP 8.1: validate_file(): prevent "passing null to non-nullable" notice
No input validation was done. Covered by existing `Tests_Functions::test_validate_file()` test (well, the `null` and string part is). Error fixed: `preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated` QUESTION: should we add tests for other scalar input types ?
- Loading branch information