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