File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737
3838$ arguments = [];
3939
40- if (!isset ($ options ['f ' ])) {
40+ if (! isset ($ options ['f ' ])) {
4141 $ arguments ['--scheduler ' ] = 'cron ' ;
4242}
4343
Original file line number Diff line number Diff line change @@ -49,15 +49,15 @@ public function handle(): int
4949 $ alerts_lock = Cache::lock ('alerts ' , LibrenmsConfig::get ('service_alerting_frequency ' ));
5050 if ($ alerts_lock ->get ()) {
5151 $ alerts = new AlertNotifications ();
52- if (!LibrenmsConfig::get ('alert.disable ' )) {
52+ if (! LibrenmsConfig::get ('alert.disable ' )) {
5353 $ this ->line ('Start: ' . date ('r ' ));
5454 $ this ->line ('ClearStaleAlerts(): ' );
5555 $ alerts ->clearStaleAlerts ();
56- $ this ->line (" RunFollowUp(): " );
56+ $ this ->line (' RunFollowUp(): ' );
5757 $ alerts ->runFollowUp ();
58- $ this ->line (" AlertNotifications(): " );
58+ $ this ->line (' AlertNotifications(): ' );
5959 $ alerts ->runAlerts ();
60- $ this ->line (" RunAcks(): " );
60+ $ this ->line (' RunAcks(): ' );
6161 $ alerts ->runAcks ();
6262 $ this ->line ('End : ' . date ('r ' ));
6363 }
Original file line number Diff line number Diff line change 11<?php
2+
23/**
34 * AlertNotificationsTest.php
45 *
You can’t perform that action at this time.
0 commit comments