Skip to content

Commit dce6412

Browse files
committed
accept relative path
1 parent ab635c3 commit dce6412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/AutoloadInterceptor/ClassLoader.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function findFile($namespacedClass): false|string
108108
$filePath = Path::resolve($filePath);
109109

110110
foreach ($this->options->getExcludePaths() as $path) {
111-
if (str_starts_with($filePath, $path)) {
111+
if (str_starts_with($filePath, Path::resolve($path))) {
112112
return $filePath;
113113
}
114114
}

0 commit comments

Comments
 (0)