Page MenuHomePhabricator

abstract class PhabricatorSetupCheck
Phabricator Technical Documentation (Config)

This class is not documented.

Methods

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