Changeset View
Changeset View
Standalone View
Standalone View
src/config/ArcanistConfigurationEngine.php
Context not available. | |||||
$key)); | $key)); | ||||
} | } | ||||
$is_ok = preg_match('(^[a-z][a-z0-9._-]{2,}\z)', $key); | $is_ok = @preg_match('(^[a-z][a-z0-9._-]{2,}\z)', $key); | ||||
if (!$is_ok) { | if (!$is_ok) { | ||||
if ($is_alias_of === null) { | if ($is_alias_of === null) { | ||||
throw new Exception( | throw new Exception( | ||||
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