3 final class PhabricatorZipSetupCheck
extends PhabricatorSetupCheck
{
5 public function getDefaultGroup() {
6 return self
::GROUP_OTHER
;
9 protected function executeChecks() {
10 if (!extension_loaded('zip')) {
12 'The PHP "zip" extension is not installed. This extension is '.
13 'required by certain data export operations, including exporting '.
16 'To clear this setup issue, install the extension and restart your '.
19 'You may safely ignore this issue if you do not plan to export '.
20 'data in Zip archives or Excel spreadsheets, or intend to install '.
21 'the extension later.');
23 $this->newIssue('extension.zip')
24 ->setName(pht('Missing "zip" Extension'))
25 ->setMessage($message)
26 ->addPHPExtension('zip');