Changeset View
Changeset View
Standalone View
Standalone View
src/configuration/ArcanistSettings.php
Show First 20 Lines • Show All 230 Lines • ▼ Show 20 Lines | switch ($type) { | ||||
$value = (string)$value; | $value = (string)$value; | ||||
break; | break; | ||||
case 'wild': | case 'wild': | ||||
break; | break; | ||||
case 'aliases': | case 'aliases': | ||||
throw new Exception( | throw new Exception( | ||||
pht( | pht( | ||||
'Use "arc alias" to configure aliases, not "arc set-config".')); | 'Use "arc alias" to configure aliases, not "arc set-config".')); | ||||
break; | |||||
} | } | ||||
return $value; | return $value; | ||||
} | } | ||||
public function willReadValue($key, $value) { | public function willReadValue($key, $value) { | ||||
$type = $this->getType($key); | $type = $this->getType($key); | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |
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