Skip to content

Commit 0b1f172

Browse files
committed
minor symfony#13829 [Process] prefix should not be escaped (pyrech)
This PR was merged into the 2.3 branch. Discussion ---------- [Process] prefix should not be escaped | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#12826 | License | MIT | Doc PR | - The phpdoc of `ProcessBuilder#setPrefix` says: ``` Adds an unescaped prefix to the command string. ``` But in the current implementation, the prefix is merged with arguments array and then is escaped which seems wrong. Commits ------- 67f65c9 Update phpdoc of ProcessBuilder#setPrefix()
2 parents 15cac12 + 67f65c9 commit 0b1f172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Process/ProcessBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function add($argument)
6767
}
6868

6969
/**
70-
* Adds an unescaped prefix to the command string.
70+
* Adds a prefix to the command string.
7171
*
7272
* The prefix is preserved when resetting arguments.
7373
*

0 commit comments

Comments
 (0)