Passed
Push — feature/security-checker-5 ( b4b389...02e62b )
by Jorijn
02:56
created
src/Console/SecuritySlackCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Console/SecurityMailCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.