| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class Check extends CheckAbstract |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var YamlFile |
||
| 27 | */ |
||
| 28 | private $checker; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string|array|\Traversable $files Path name or an array / Traversable of paths |
||
| 32 | * |
||
| 33 | * @throws \InvalidArgumentException |
||
| 34 | */ |
||
| 35 | 2 | public function __construct($files) |
|
| 36 | { |
||
| 37 | 2 | $this->checker = new YamlFile($files); |
|
| 38 | 2 | } |
|
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | 2 | public function check() |
|
| 46 | } |
||
| 47 | } |
||
| 48 |