Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / config / check / PhabricatorCacheSetupCheck.php
blob04d3dccb61c89f1de4f6b047bedfca35b0e5aafc
1 <?php
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);