From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Wed, 3 Sep 2014 23:28:35 -0400
Subject: Allow require to search in the path

Forwarded: not-needed
---
 bin/php-parse | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/bin/php-parse b/bin/php-parse
index a002f85..6ce839b 100755
--- a/bin/php-parse
+++ b/bin/php-parse
@@ -1,12 +1,7 @@
 #!/usr/bin/env php
 <?php
 
-foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
-    if (file_exists($file)) {
-        require $file;
-        break;
-    }
-}
+require 'PhpParser/autoload.php';
 
 ini_set('xdebug.max_nesting_level', 3000);
 
