abstract protected function executeChecks()
abstract protected function executeChecks()
Return
wild |
public function getExecutionOrder()
public function getExecutionOrder()
Return
wild |
public function isPreflightCheck()
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
bool | True to execute before configuration is loaded. |
final protected function newIssue($key)
final protected function newIssue($key)
Parameters
$key |
Return
wild |
final public function getIssues()
final public function getIssues()
Return
wild |
protected function addIssue($issue)
protected function addIssue($issue)
Parameters
PhabricatorSetupIssue | $issue |
Return
wild |
public function getDefaultGroup()
public function getDefaultGroup()
Return
wild |
final public function runSetupChecks()
final public function runSetupChecks()
Return
wild |
final public static function getOpenSetupIssueKeys()
final public static function getOpenSetupIssueKeys()
Return
wild |
final public static function resetSetupState()
final public static function resetSetupState()
Return
wild |
final public static function setOpenSetupIssueKeys($keys, $update_database)
final public static function setOpenSetupIssueKeys($keys, $update_database)
Parameters
array | $keys | |
$update_database |
Return
wild |
final public static function getOpenSetupIssueKeysFromDatabase()
final public static function getOpenSetupIssueKeysFromDatabase()
Return
wild |
final public static function getUnignoredIssueKeys($all_issues)
final public static function getUnignoredIssueKeys($all_issues)
Parameters
array | $all_issues |
Return
wild |
final public static function getConfigNeedsRepair()
final public static function getConfigNeedsRepair()
Return
wild |
final public static function setConfigNeedsRepair($needs_repair)
final public static function setConfigNeedsRepair($needs_repair)
Parameters
$needs_repair |
Return
wild |
final public static function deleteSetupCheckCache()
final public static function deleteSetupCheckCache()
Return
wild |
final public static function willPreflightRequest()
final public static function willPreflightRequest()
Return
wild |
public static function newIssueResponse($issue)
public static function newIssueResponse($issue)
Parameters
PhabricatorSetupIssue | $issue |
Return
wild |
final public static function willProcessRequest()
final public static function willProcessRequest()
Return
wild |
final public static function isInFlight()
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
bool | True if we've made it through setup since the last restart. |
final public static function loadAllChecks()
final public static function loadAllChecks()
Return
wild |
final public static function runNormalChecks()
final public static function runNormalChecks()
Return
wild |
final public static function repairConfig()
final public static function repairConfig()
Return
wild |