'Bad Filename', ); } public function lintPath($path) { if (!preg_match('@^[a-z0-9./\\\\_-]+$@i', $path)) { $this->raiseLintAtPath( self::LINT_BAD_FILENAME, 'Name files using only letters, numbers, period, hyphen and '. 'underscore.'); } } }