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