mirror of
https://github.com/pestphp/pest.git
synced 2026-04-26 00:47:27 +02:00
Fix issue with case-insensitive windows paths
This commit is contained in:
@ -165,6 +165,7 @@ final class TestCaseFactory
|
||||
}, $filename);
|
||||
}
|
||||
|
||||
$filename = realpath($filename);
|
||||
$rootPath = TestSuite::getInstance()->rootPath;
|
||||
$relativePath = str_replace($rootPath . DIRECTORY_SEPARATOR, '', $filename);
|
||||
// Strip out any %-encoded octets.
|
||||
|
||||
Reference in New Issue
Block a user