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