Skip to content

Commit 8297d21

Browse files
author
Tomáš Votruba
authored
README: make require use of __DIR__
When we now absolute path, it's be
1 parent 03de0ae commit 8297d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ with the Abstract Syntax Tree (AST) via a friendly API.
1313
```php
1414
<?php
1515
// Autoload required classes
16-
require "vendor/autoload.php";
16+
require __DIR__ . "/vendor/autoload.php";
1717

1818
use Microsoft\PhpParser\{DiagnosticsProvider, Node, Parser, PositionUtilities};
1919

0 commit comments

Comments
 (0)