Page MenuHomePhorge
Diviner Tech Docs PhabricatorSetupCheck

abstract class PhabricatorSetupCheck
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.

abstract protected function executeChecks()

This method is not documented.
Return
wild

public function getExecutionOrder()

This method is not documented.
Return
wild

public function isPreflightCheck()

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)

This method is not documented.
Parameters
$key
Return
wild

final public function getIssues()

This method is not documented.
Return
wild

protected function addIssue($issue)

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

public function getDefaultGroup()

This method is not documented.
Return
wild

final public function runSetupChecks()

This method is not documented.
Return
wild

final public static function getOpenSetupIssueKeys()

This method is not documented.
Return
wild

final public static function resetSetupState()

This method is not documented.
Return
wild

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

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

final public static function getOpenSetupIssueKeysFromDatabase()

This method is not documented.
Return
wild

final public static function getUnignoredIssueKeys($all_issues)

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

final public static function getConfigNeedsRepair()

This method is not documented.
Return
wild

final public static function setConfigNeedsRepair($needs_repair)

This method is not documented.
Parameters
$needs_repair
Return
wild

final public static function deleteSetupCheckCache()

This method is not documented.
Return
wild

final public static function willPreflightRequest()

This method is not documented.
Return
wild

public static function newIssueResponse($issue)

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

final public static function willProcessRequest()

This method is not documented.
Return
wild

final public static function isInFlight()

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()

This method is not documented.
Return
wild

final public static function runNormalChecks()

This method is not documented.
Return
wild

final public static function repairConfig()

This method is not documented.
Return
wild