Skip to content

Commit d67303e

Browse files
minor #58747 [Process] fix the directory separator being used (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [Process] fix the directory separator being used | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 2526495eb75 fix the directory separator being used
2 parents 5cdd400 + 7be8366 commit d67303e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Tests/ExecutableFinderTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function testFindBatchExecutableOnWindows()
148148
*/
149149
public function testEmptyDirInPath()
150150
{
151-
putenv(sprintf('PATH=%s:', \dirname(\PHP_BINARY)));
151+
putenv(sprintf('PATH=%s%s', \dirname(\PHP_BINARY), \PATH_SEPARATOR));
152152

153153
try {
154154
touch('executable');

0 commit comments

Comments
 (0)