Skip to content

Commit 83f0ed0

Browse files
authored
Fixes for new lint requirements (#1742)
Fix for new lint version
1 parent c35b2c5 commit 83f0ed0

30 files changed

+40
-40
lines changed

app/Actions/MigrateBadJsonResults.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class MigrateBadJsonResults
2121

2222
public function handle(User $user)
2323
{
24-
$dataSettings = new DataMigrationSettings();
24+
$dataSettings = new DataMigrationSettings;
2525

2626
$tableName = 'results_bad_json';
2727

app/Actions/Notifications/SendMailTestNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function handle(array $recipients)
2424

2525
foreach ($recipients as $recipient) {
2626
Mail::to($recipient)
27-
->send(new TestMail());
27+
->send(new TestMail);
2828
}
2929

3030
Notification::make()

app/Filament/Resources/ResultResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public static function form(Form $form): Form
153153

154154
public static function table(Table $table): Table
155155
{
156-
$dataSettings = new DataMigrationSettings();
156+
$dataSettings = new DataMigrationSettings;
157157

158158
return $table
159159
->columns([

app/Listeners/Data/InfluxDb2Listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class InfluxDb2Listener
1313
*/
1414
public function handle(SpeedtestCompleted $event): void
1515
{
16-
$influxSettings = new InfluxDbSettings();
16+
$influxSettings = new InfluxDbSettings;
1717

1818
if ($influxSettings->v2_enabled) {
1919
WriteCompletedSpeedtest::dispatch($event->result, $influxSettings);

app/Listeners/Database/SendSpeedtestCompletedNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class SendSpeedtestCompletedNotification
1414
*/
1515
public function handle(SpeedtestCompleted $event): void
1616
{
17-
$notificationSettings = new NotificationSettings();
17+
$notificationSettings = new NotificationSettings;
1818

1919
if (! $notificationSettings->database_enabled) {
2020
return;

app/Listeners/Database/SendSpeedtestThresholdNotification.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SendSpeedtestThresholdNotification
1616
*/
1717
public function handle(SpeedtestCompleted $event): void
1818
{
19-
$notificationSettings = new NotificationSettings();
19+
$notificationSettings = new NotificationSettings;
2020

2121
if (! $notificationSettings->database_enabled) {
2222
return;
@@ -26,7 +26,7 @@ public function handle(SpeedtestCompleted $event): void
2626
return;
2727
}
2828

29-
$thresholdSettings = new ThresholdSettings();
29+
$thresholdSettings = new ThresholdSettings;
3030

3131
if (! $thresholdSettings->absolute_enabled) {
3232
return;

app/Listeners/Discord/SendSpeedtestCompletedNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SendSpeedtestCompletedNotification
1616
*/
1717
public function handle(SpeedtestCompleted $event): void
1818
{
19-
$notificationSettings = new NotificationSettings();
19+
$notificationSettings = new NotificationSettings;
2020

2121
if (! $notificationSettings->discord_enabled) {
2222
return;

app/Listeners/Discord/SendSpeedtestThresholdNotification.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SendSpeedtestThresholdNotification
1717
*/
1818
public function handle(SpeedtestCompleted $event): void
1919
{
20-
$notificationSettings = new NotificationSettings();
20+
$notificationSettings = new NotificationSettings;
2121

2222
if (! $notificationSettings->discord_enabled) {
2323
return;
@@ -33,7 +33,7 @@ public function handle(SpeedtestCompleted $event): void
3333
return;
3434
}
3535

36-
$thresholdSettings = new ThresholdSettings();
36+
$thresholdSettings = new ThresholdSettings;
3737

3838
if (! $thresholdSettings->absolute_enabled) {
3939
return;

app/Listeners/Gotify/SendSpeedtestCompletedNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SendSpeedtestCompletedNotification
1616
*/
1717
public function handle(SpeedtestCompleted $event): void
1818
{
19-
$notificationSettings = new NotificationSettings();
19+
$notificationSettings = new NotificationSettings;
2020

2121
if (! $notificationSettings->gotify_enabled) {
2222
return;

app/Listeners/Gotify/SendSpeedtestThresholdNotification.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SendSpeedtestThresholdNotification
1717
*/
1818
public function handle(SpeedtestCompleted $event): void
1919
{
20-
$notificationSettings = new NotificationSettings();
20+
$notificationSettings = new NotificationSettings;
2121

2222
if (! $notificationSettings->gotify_enabled) {
2323
return;
@@ -33,7 +33,7 @@ public function handle(SpeedtestCompleted $event): void
3333
return;
3434
}
3535

36-
$thresholdSettings = new ThresholdSettings();
36+
$thresholdSettings = new ThresholdSettings;
3737

3838
if (! $thresholdSettings->absolute_enabled) {
3939
return;

0 commit comments

Comments
 (0)