protected function checkSummary()
{
$status = [];
$status[] = $this->composerSuffix;
$checks = [$this->config->getPath('config'), $this->config->getPath('database'), $this->config->getPath('cache'), $this->config->getPath('extensions'), $this->config->getPath('web') . '/extensions'];
foreach ($checks as $check) {
if (is_readable($check) && is_writable($check)) {
$status[] = 'ok';
$status[] = $check;
} else {
$status[] = 'error';
$status[] = $check;
}
}
return call_user_func_array('sprintf', $status);
}