Skip to content

Commit

Permalink
minor #58747 [Process] fix the directory separator being used (xabbuh)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nicolas-grekas committed Nov 4, 2024
2 parents 5cdd400 + 7be8366 commit d67303e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/ExecutableFinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function testFindBatchExecutableOnWindows()
*/
public function testEmptyDirInPath()
{
putenv(sprintf('PATH=%s:', \dirname(\PHP_BINARY)));
putenv(sprintf('PATH=%s%s', \dirname(\PHP_BINARY), \PATH_SEPARATOR));

try {
touch('executable');
Expand Down

0 comments on commit d67303e

Please sign in to comment.