3 final class PhabricatorAphlictSetupCheck
extends PhabricatorSetupCheck
{
5 protected function executeChecks() {
7 PhabricatorNotificationClient
::tryAnyConnection();
8 } catch (Exception
$ex) {
10 "Phabricator is configured to use a notification server, but is ".
11 "unable to connect to it. You should resolve this issue or disable ".
12 "the notification server. It may be helpful to double check your ".
13 "configuration or restart the server using the command below.\n\n%s",
24 $this->newIssue('aphlict.connect')
25 ->setShortName(pht('Notification Server Down'))
26 ->setName(pht('Unable to Connect to Notification Server'))
29 'Phabricator is configured to use a notification server, '.
30 'but is not able to connect to it.'))
31 ->setMessage($message)
32 ->addRelatedPhabricatorConfig('notification.servers')
35 "(To start the server, run this command.)\n%s",
36 'phabricator/ $ ./bin/aphlict start'));