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