Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorPHPPreflightSetupCheck

final class PhabricatorPHPPreflightSetupCheck
Phorge Technical Documentation (Config)

This class is not documented.

Methods

protected function executeChecks()

This method is not documented.
Return
wild

public function getExecutionOrder()
Inherited

This method is not documented.
Return
wild

public function isPreflightCheck()

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.

PhabricatorPHPPreflightSetupCheck
This method is not documented.
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