Total Complexity | 2 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
9 | class SecurityCommand extends Command |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $name = 'security-check:now'; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $description = 'Checks composer.lock for any vulnerabilities against the SensioLabs checker.'; |
||
20 | |||
21 | /** |
||
22 | * @var SecurityChecker |
||
23 | */ |
||
24 | protected $checker; |
||
25 | |||
26 | /** |
||
27 | * SecurityCommand constructor. |
||
28 | * |
||
29 | * @param SecurityChecker $checker |
||
30 | */ |
||
31 | 15 | public function __construct(SecurityChecker $checker) |
|
36 | 15 | } |
|
37 | |||
38 | /** |
||
39 | * Fire the command |
||
40 | */ |
||
41 | 3 | public function fire() |
|
55 |