| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 9 | final class CertificateChecker |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ProcessRunner |
||
| 13 | */ |
||
| 14 | private $processRunner; |
||
| 15 | /** |
||
| 16 | * @var Style |
||
| 17 | */ |
||
| 18 | private $style; |
||
| 19 | |||
| 20 | public function __construct(ProcessRunner $processRunner, Style $style) |
||
| 21 | { |
||
| 22 | $this->processRunner = $processRunner; |
||
| 23 | $this->style = $style; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function check(string $hostname, string $expectedIp) |
||
| 40 | } |
||
| 41 | } |
||
| 43 |