Skip to content

Commit

Permalink
Merge eda7ca6 into 5c64452
Browse files Browse the repository at this point in the history
  • Loading branch information
sstraakenbroek committed Nov 13, 2019
2 parents 5c64452 + eda7ca6 commit 7b5d61a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Checkers/SecurityChecker.php
Expand Up @@ -16,9 +16,9 @@ public function check()
{
$checker = new SensioLabsSecurityChecker();

$alerts = $checker->check(base_path('composer.lock'));

if (count($alerts) == 0) {
$result = $checker->check(base_path('composer.lock'));
$alerts = json_decode((string) $result, true);
if (0 === count($alerts)) {
return $this->makeHealthyResult();
}

Expand Down

0 comments on commit 7b5d61a

Please sign in to comment.