The clover is allowed to be missing (for hhvm).

This commit is contained in:
Sébastien Lucas 2013-12-17 20:59:22 +01:00
parent 19dcd73585
commit 8d7b3afc3b

View file

@ -15,7 +15,8 @@ $inputFile = $argv[1];
$percentage = min(100, max(0, (int) $argv[2])); $percentage = min(100, max(0, (int) $argv[2]));
if (!file_exists($inputFile)) { if (!file_exists($inputFile)) {
throw new InvalidArgumentException('Invalid input file provided'); echo 'Invalid input file provided';
exit (0);
} }
if (!$percentage) { if (!$percentage) {