Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
41 | 3 | public function fire() |
|
42 | { |
||
43 | // get the path to composer.lock |
||
44 | 3 | $composerLock = base_path('composer.lock'); |
|
45 | |||
46 | // and feed it into the SecurityChecker |
||
47 | 3 | $checkResult = $this->checker->check($composerLock); |
|
48 | |||
49 | // then display it using the formatter provided for Symfony |
||
50 | 3 | app(SimpleFormatter::class)->displayResults($this->getOutput(), $composerLock, $checkResult); |
|
51 | |||
52 | 3 | return 0; |
|
53 | } |
||
55 |