The clover is allowed to be missing (for hhvm).
Cette révision appartient à :
Parent
19dcd73585
révision
8d7b3afc3b
|
@ -15,7 +15,8 @@ $inputFile = $argv[1];
|
|||
$percentage = min(100, max(0, (int) $argv[2]));
|
||||
|
||||
if (!file_exists($inputFile)) {
|
||||
throw new InvalidArgumentException('Invalid input file provided');
|
||||
echo 'Invalid input file provided';
|
||||
exit (0);
|
||||
}
|
||||
|
||||
if (!$percentage) {
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket