3 final class PhabricatorCacheSetupCheck
extends PhabricatorSetupCheck
{
5 public function getDefaultGroup() {
6 return self
::GROUP_PHP
;
9 protected function executeChecks() {
10 $code_cache = PhabricatorOpcodeCacheSpec
::getActiveCacheSpec();
11 $data_cache = PhabricatorDataCacheSpec
::getActiveCacheSpec();
13 $issues = $code_cache->getIssues() +
$data_cache->getIssues();
15 foreach ($issues as $issue) {
16 $this->addIssue($issue);