From b99f132b5e4e8e48480da29571fd6c3fa996e18d Mon Sep 17 00:00:00 2001 From: Michael Erkens Date: Fri, 21 Feb 2020 11:16:24 +0100 Subject: [PATCH] Fix vendor location Fixing issue with autoloader when executing from outside the source directory: https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues/1 --- parallel-lint | 1 + 1 file changed, 1 insertion(+) diff --git a/parallel-lint b/parallel-lint index ea93fff..8d0a199 100755 --- a/parallel-lint +++ b/parallel-lint @@ -40,6 +40,7 @@ $autoloadLocations = [ getcwd() . '/../../autoload.php', __DIR__ . '/../vendor/autoload.php', __DIR__ . '/../../../autoload.php', + __DIR__ . '/../../autoload.php', ]; $loaded = false;