@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class PhabricatorCacheSetupCheck extends PhabricatorSetupCheck {
4
5 public function getDefaultGroup() {
6 return self::GROUP_PHP;
7 }
8
9 protected function executeChecks() {
10 $code_cache = PhabricatorOpcodeCacheSpec::getActiveCacheSpec();
11 $data_cache = PhabricatorDataCacheSpec::getActiveCacheSpec();
12
13 $issues = $code_cache->getIssues() + $data_cache->getIssues();
14
15 foreach ($issues as $issue) {
16 $this->addIssue($issue);
17 }
18 }
19
20}