Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 10 |
Ratio | 100 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
15 | private const SPECIAL_REPOSITORIES = [ |
||
16 | 'ekinhbayar/gitamp', |
||
17 | 'amphp/amp', |
||
18 | ]; |
||
19 | |||
20 | 2 | public function __construct(array $event) |
|
21 | { |
||
22 | 2 | parent::__construct( |
|
23 | 2 | (int) $event['id'], |
|
24 | 2 | new Type(7), |
|
25 | 2 | new Information($this->buildUrl($event), $this->buildPayload(), $this->buildMessage($event)), |
|
55 |