mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 10:17:23 +01: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