Skip to content

Commit 88fd4fb

Browse files
committed
codesniffer changes
1 parent 95acb04 commit 88fd4fb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/Console/SecurityMailCommand.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,14 @@ public function handle()
5555
}
5656

5757
// get the recipients and filter out any configuration mistakes
58-
$recipients = collect(config('laravel-security-checker.recipients', [ ]))->filter(function($recipient) {
58+
$recipients = collect(config('laravel-security-checker.recipients', [ ]))->filter(function ($recipient) {
5959
return $recipient !== null && !empty($recipient);
6060
});
6161

6262
if ($recipients->count() === 0) {
63-
$this->error(/** @scrutinizer ignore-type */__('laravel-security-checker::messages.no_recipients_configured'));
63+
$this->error(
64+
/** @scrutinizer ignore-type */__('laravel-security-checker::messages.no_recipients_configured')
65+
);
6466
return 1;
6567
}
6668

src/Notifications/SecuritySlackNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function toSlack()
5555
return (new SlackMessage)
5656
->from(config('app.url'))
5757
->content("*Security Check Report:* `{$this->composerLockPath}`")
58-
->attachment(function($attachment) {
58+
->attachment(function ($attachment) {
5959
$attachment->content($this->textFormatter())->markdown([ 'text' ]);
6060
});
6161
}

0 commit comments

Comments
 (0)