Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f9c3a00

Browse filesBrowse files
minor #58748 [Process] ignore case of built-in cmd.exe commands (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [Process] ignore case of built-in cmd.exe commands | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 278cabd ignore case of built-in cmd.exe commands
2 parents 81bffdf + 278cabd commit f9c3a00
Copy full SHA for f9c3a00

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎src/Symfony/Component/Process/Tests/ExecutableFinderTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Process/Tests/ExecutableFinderTest.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ public function testFindBuiltInCommandOnWindows()
166166
}
167167

168168
$finder = new ExecutableFinder();
169-
$this->assertSame('rmdir', $finder->find('RMDIR'));
170-
$this->assertSame('cd', $finder->find('cd'));
171-
$this->assertSame('move', $finder->find('MoVe'));
169+
$this->assertSame('rmdir', strtolower($finder->find('RMDIR')));
170+
$this->assertSame('cd', strtolower($finder->find('cd')));
171+
$this->assertSame('move', strtolower($finder->find('MoVe')));
172172
}
173173

174174
private function assertSamePath($expected, $tested)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.