| Total Complexity | 1 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Challenge { |
||
| 6 | |||
| 7 | // Status from RFC 8555 (7.1.6), version: March 2019 |
||
| 8 | |||
| 9 | const STATUS_PENDING = 'pending'; |
||
| 10 | const STATUS_PROGRESSING = 'processing'; |
||
| 11 | const STATUS_VALID = 'valid'; |
||
| 12 | const STATUS_INVALID = 'invalid'; |
||
| 13 | |||
| 14 | public $type; |
||
| 15 | public $status; |
||
| 16 | public $url; |
||
| 17 | public $token; |
||
| 18 | public $error; |
||
| 19 | |||
| 20 | public function __construct(string $type, string $status, string $url, string $token, ChallengeError $error = null) { |
||
| 27 | } |
||
| 28 | } |