Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
14 | 44 | public function __construct(string $name, string $summary, string $website, array $tags, Command $command, Command $testCommand) |
|
15 | { |
||
16 | 44 | $this->name = $name; |
|
17 | 44 | $this->summary = $summary; |
|
18 | 44 | $this->website = $website; |
|
19 | 44 | $this->tags = \array_map(function (string $tag) { |
|
20 | 17 | return $tag; |
|
21 | 44 | }, $tags); |
|
22 | 43 | $this->command = $command; |
|
23 | 43 | $this->testCommand = $testCommand; |
|
24 | } |
||
59 |