You are here

public function SiteAuditCheckCodebasePhpMessDetection::getResultInfo in Site Audit 8.2

Implements \SiteAudit\Check\Abstract\getResultInfo().

Overrides SiteAuditCheckAbstract::getResultInfo

File

Check/Codebase/PhpMessDetection.php, line 38
Contains \SiteAudit\Check\Codebase\PhpMessDetection.

Class

SiteAuditCheckCodebasePhpMessDetection
Class SiteAuditCheckCodebasePhpMessDetection.

Code

public function getResultInfo() {
  if (isset($this->registry['phpmd_path_error'])) {
    return dt('Missing phpmd.');
  }
  return dt('Cannot check for suboptimal code; no custom code path specified.');
}