Skip to content

Commit 03d2882

Browse files
author
Ryan
committed
Update test.php
1 parent 7b59db6 commit 03d2882

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<?php
22

33
error_reporting(-1);
4-
require 'lib/cli/Arguments.php';
4+
require_once __DIR__ . '/vendor/autoload.php';
55

6-
$args = new \cli\Arguments(array(
6+
7+
$args = new cli\Arguments(array(
78
'flags' => array(
89
'verbose' => array(
910
'description' => 'Turn on verbose mode',
@@ -25,10 +26,8 @@
2526

2627
try {
2728
$args->parse();
28-
} catch (\cli\InvalidArguments $e) {
29+
} catch (cli\InvalidArguments $e) {
2930
echo $e->getMessage() . "\n\n";
3031
}
3132

3233
print_r($args->getArguments());
33-
34-
?>

0 commit comments

Comments
 (0)