Skip to content

Commit 77579df

Browse files
committed
Change GettingStarted to match README change with absolute require
1 parent 2c060ce commit 77579df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/GettingStarted.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ rather the complete source, which includes tests as well.
5959

6060
```php
6161
<?php
62-
require "vendor/autoload.php"; # autoloads required classes
62+
// Autoload required classes
63+
require __DIR__ . "/vendor/autoload.php";
6364

6465
use Microsoft\PhpParser\{DiagnosticsProvider, Parser};
6566

0 commit comments

Comments
 (0)