@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $composerLock = base_path('composer.lock'); |
| 51 | 51 | |
| 52 | 52 | // and feed it into the SecurityChecker |
| 53 | - $vulnerabilities = json_decode((string)$this->checker->check($composerLock), true); |
|
| 53 | + $vulnerabilities = json_decode((string) $this->checker->check($composerLock), true); |
|
| 54 | 54 | |
| 55 | 55 | // cancel execution here if user does not want to be notified when there are 0 vulns. |
| 56 | 56 | $proceed = config('laravel-security-checker.notify_even_without_vulnerabilities', false); |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | $composerLock = base_path('composer.lock'); |
| 46 | 46 | |
| 47 | 47 | // and feed it into the SecurityChecker |
| 48 | - $checkResult = json_decode((string)$this->checker->check($composerLock), true); |
|
| 48 | + $checkResult = json_decode((string) $this->checker->check($composerLock), true); |
|
| 49 | 49 | |
| 50 | 50 | // if the user didn't want any email if there are no results, |
| 51 | 51 | // cancel execution here. |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | // 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) { |
|
| 59 | 59 | return $recipient !== null && !empty($recipient); |
| 60 | 60 | }); |
| 61 | 61 | |