We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 81.82% |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | final class Image extends AbstractRule |
||
| 30 | { |
||
| 31 | /** |
||
| 32 | * @var finfo |
||
| 33 | */ |
||
| 34 | private $fileInfo; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Initializes the rule. |
||
| 38 | * |
||
| 39 | * @param finfo|null $fileInfo |
||
| 40 | */ |
||
| 41 | 1 | public function __construct(finfo $fileInfo = null) |
|
| 44 | 1 | } |
|
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | 1 | public function validate($input): bool |
|
| 66 |