Skip to content

Commit 92bf5db

Browse files
committed
style fixes
1 parent c383c26 commit 92bf5db

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

alerts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
$arguments = [];
3939

40-
if (!isset($options['f'])) {
40+
if (! isset($options['f'])) {
4141
$arguments['--scheduler'] = 'cron';
4242
}
4343

app/Console/Commands/AlertsNotify.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

tests/Feature/AlertNotificationsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* AlertNotificationsTest.php
45
*

0 commit comments

Comments
 (0)