Page MenuHomePhorge
Diviner Tech Docs PhabricatorExtraConfigSetupCheck

final class PhabricatorExtraConfigSetupCheck
Phorge Technical Documentation (Config)

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

protected function executeChecks()

This method is not documented.
Return
wild

public function getExecutionOrder()
Inherited

This method is not documented.
Return
wild

public function isPreflightCheck()
Inherited

PhabricatorSetupCheck

Should this check execute before we load configuration?

The majority of checks (particularly, those checks which examine configuration) should run in the normal setup phase, after configuration loads. However, a small set of critical checks (mostly, tests for PHP setup and extensions) need to run before we can load configuration.

Return
boolTrue to execute before configuration is loaded.

final protected function newIssue($key)
Inherited

This method is not documented.
Parameters
$key
Return
wild

final public function getIssues()
Inherited

This method is not documented.
Return
wild

protected function addIssue($issue)
Inherited

This method is not documented.
Parameters
PhabricatorSetupIssue$issue
Return
wild

public function getDefaultGroup()

This method is not documented.
Return
wild

final public function runSetupChecks()
Inherited

This method is not documented.
Return
wild

final public static function getOpenSetupIssueKeys()
Inherited

This method is not documented.
Return
wild

final public static function resetSetupState()
Inherited

This method is not documented.
Return
wild

final public static function setOpenSetupIssueKeys($keys, $update_database)
Inherited

This method is not documented.
Parameters
array$keys
$update_database
Return
wild

final public static function getOpenSetupIssueKeysFromDatabase()
Inherited

This method is not documented.
Return
wild

final public static function getUnignoredIssueKeys($all_issues)
Inherited

This method is not documented.
Parameters
array$all_issues
Return
wild

final public static function getConfigNeedsRepair()
Inherited

This method is not documented.
Return
wild

final public static function setConfigNeedsRepair($needs_repair)
Inherited

This method is not documented.
Parameters
$needs_repair
Return
wild

final public static function deleteSetupCheckCache()
Inherited

This method is not documented.
Return
wild

final public static function willPreflightRequest()
Inherited

This method is not documented.
Return
wild

public static function newIssueResponse($issue)
Inherited

This method is not documented.
Parameters
PhabricatorSetupIssue$issue
Return
wild

final public static function willProcessRequest()
Inherited

This method is not documented.
Return
wild

final public static function isInFlight()
Inherited

PhabricatorSetupCheck

Test if we've survived through setup on at least one normal request without fataling.

If we've made it through setup without hitting any fatals, we switch to render a more friendly error page when encountering issues like database connection failures. This gives users a smoother experience in the face of intermittent failures.

Return
boolTrue if we've made it through setup since the last restart.

final public static function loadAllChecks()
Inherited

This method is not documented.
Return
wild

final public static function runNormalChecks()
Inherited

This method is not documented.
Return
wild

final public static function repairConfig()
Inherited

This method is not documented.
Return
wild

public static function getAncientConfig()

Return a map of deleted config options. Keys are option keys; values are explanations of what happened to the option.

Return
wild