3 final class PhabricatorFileinfoSetupCheck
extends PhabricatorSetupCheck
{
5 public function getDefaultGroup() {
6 return self
::GROUP_OTHER
;
9 protected function executeChecks() {
10 if (!extension_loaded('fileinfo')) {
12 "The '%s' extension is not installed. Without '%s', ".
13 "support, this software may not be able to determine the MIME types ".
18 $this->newIssue('extension.fileinfo')
19 ->setName(pht("Missing '%s' Extension", 'fileinfo'))
20 ->setMessage($message);