Skip to content

Commit

Permalink
README: make require use of __DIR__
Browse files Browse the repository at this point in the history
When we now absolute path, it's be
  • Loading branch information
Tomáš Votruba committed Oct 30, 2017
1 parent 03de0ae commit 8297d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ with the Abstract Syntax Tree (AST) via a friendly API.
```php
<?php
// Autoload required classes
require "vendor/autoload.php";
require __DIR__ . "/vendor/autoload.php";

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

Expand Down

0 comments on commit 8297d21

Please sign in to comment.