File Validators
ExcludeExtension
Laminas\Validator\File\ExcludeExtension
checks the extension of files. It will
assert false
when a given file matches any of the defined extensions.
This validator is inversely related to the Extension validator; please refer to that validator for full options and usage examples.