@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | // and feed it into the SecurityChecker |
55 | 55 | Log::debug('about to check for vulnerabilities'); |
56 | - $vulnerabilities = json_decode((string)$this->checker->check($composerLock), true); |
|
56 | + $vulnerabilities = json_decode((string) $this->checker->check($composerLock), true); |
|
57 | 57 | |
58 | 58 | // cancel execution here if user does not want to be notified when there are 0 vulns. |
59 | 59 | $proceed = config('laravel-security-checker.notify_even_without_vulnerabilities', false); |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | // and feed it into the SecurityChecker |
49 | 49 | Log::debug('about to check for vulnerabilities'); |
50 | - $checkResult = json_decode((string)$this->checker->check($composerLock), true); |
|
50 | + $checkResult = json_decode((string) $this->checker->check($composerLock), true); |
|
51 | 51 | |
52 | 52 | // if the user didn't want any email if there are no results, |
53 | 53 | // cancel execution here. |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | // get the recipients and filter out any configuration mistakes |
61 | - $recipients = collect(config('laravel-security-checker.recipients', [ ]))->filter(function ($recipient) { |
|
61 | + $recipients = collect(config('laravel-security-checker.recipients', [ ]))->filter(function($recipient) { |
|
62 | 62 | return $recipient !== null && !empty($recipient); |
63 | 63 | }); |
64 | 64 |