Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/ArcanistFilenameLinter.php
Context not available. | |||||
} | } | ||||
public function lintPath($path) { | public function lintPath($path) { | ||||
if (!preg_match('@^[a-z0-9./\\\\_-]+$@i', $path)) { | if (!@preg_match('@^[a-z0-9./\\\\_-]+$@i', $path)) { | ||||
$this->raiseLintAtPath( | $this->raiseLintAtPath( | ||||
self::LINT_BAD_FILENAME, | self::LINT_BAD_FILENAME, | ||||
pht( | pht( | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0