From f214a78c75b46b916f8e449c0d9f7825dedb2319 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Sun, 25 Sep 2022 23:40:21 +0100 Subject: [PATCH] Removes symlinked autoload code --- bin/pest | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bin/pest b/bin/pest index dbf4be95..ac1e98b6 100755 --- a/bin/pest +++ b/bin/pest @@ -26,20 +26,13 @@ use Symfony\Component\Console\Output\OutputInterface; } } - // Used when Pest is symlinked. - $symlinkedPath = getcwd() . '/vendor/autoload.php'; - // Used when Pest is required using composer. $vendorPath = dirname(__DIR__, 4) . '/vendor/autoload.php'; // Used when Pest maintainers are running Pest tests. $localPath = dirname(__DIR__) . '/vendor/autoload.php'; - if (file_exists($symlinkedPath)) { - include_once $symlinkedPath; - $autoloadPath = $symlinkedPath; - - } else if (file_exists($vendorPath)) { + if (file_exists($vendorPath)) { include_once $vendorPath; $autoloadPath = $vendorPath; } else {