| 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 | ||
| 42 | /** |
||
| 43 | * Execute the console command. |
||
| 44 | 3 | */ |
|
| 45 | public function handle() |
||
| 46 | { |
||
| 47 | 3 | // get the path to composer.lock |
|
| 48 | $composerLock = base_path('composer.lock'); |
||
| 49 | |||
| 50 | 3 | // and feed it into the SecurityChecker |
|
| 51 | $checkResult = $this->checker->check($composerLock); |
||
| 52 | 3 | ||
| 53 | // then display it using the formatter provided for Symfony |
||
| 59 |