public function SiteAuditCheckCodebasePhpLOC::getAction in Site Audit 8.2
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Codebase/ PhpLOC.php, line 107 - Contains \SiteAudit\Check\Codebase\PhpLOC.
Class
- SiteAuditCheckCodebasePhpLOC
- Class SiteAuditCheckCodebasePhpLOC.
Code
public function getAction() {
if (isset($this->registry['phploc_path_error'])) {
return dt('Run "composer install" from the site_audit installation root to install missing dependencies.');
}
if (isset($this->registry['custom_code'])) {
return dt('Use the --custom-code option.');
}
}