Passed
Push — master ( c1e969...ffc3ff )
by Mehdi
01:31
created

coverage.php (1 issue)

1
<?php
2
3
use Coverage\Check;
4
5
require 'vendor/autoload.php';
6
7
if (!isset($argv[1])) {
8
    throw new InvalidArgumentException('No argument of path file provided');
9
}
10
11
if (!isset($argv[2])) {
12
    $argv[2] = 100;
13
}
14
15
try {
16
    (new Check())->run($argv[1], $argv[2]);
17
} catch (ErrorException $e) {
0 ignored issues
show
Coding Style Comprehensibility introduced by
Consider adding a comment why this CATCH block is empty.
Loading history...
18
}
19