From 8a42d405069d2abc3ee0dcb3d856250dc1d223ac Mon Sep 17 00:00:00 2001 From: Dimitrios Karvounaris Date: Tue, 2 Jun 2020 18:58:16 +0200 Subject: [PATCH] traits from Autoload.php not loading on Windows Windows requires realpath() so the case of the paths and filenames are always identical --- src/PendingObjects/UsesCall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PendingObjects/UsesCall.php b/src/PendingObjects/UsesCall.php index 4523dab5..142c14a3 100644 --- a/src/PendingObjects/UsesCall.php +++ b/src/PendingObjects/UsesCall.php @@ -83,7 +83,7 @@ final class UsesCall throw new InvalidUsesPath($target . "\n"); } - return $target; + return realpath($target); }, $targets); }