| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 14 |
| Ratio | 100 % |
| Tests | 10 |
| 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(2), |
|
| 25 | 2 | new Information( |
|
| 26 | 2 | $event['payload']['pull_request']['html_url'], |
|
| 27 | 2 | $event['payload']['pull_request']['title'], |
|
| 28 | 2 | $this->buildMessage($event) |
|
| 29 | ), |
||
| 54 |