Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Process] Fix incorrectly calling PHP process when path contains space#22613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:masterfrommaryo:php_process
May 15, 2017
Merged

Conversation

@maryo
Copy link
Contributor

@maryomaryo commentedMay 2, 2017
edited
Loading

QA
Branch?master
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#22556
LicenseMIT

I have PHP installed at "D:\Program Files\PHP" which contains a space.PhpExecutableFinder found it but thenPhpProcess splitted the path by space. This PR fixes it. I wanted to write a test but I don't know ho to do it properly since it is dependent on the location where PHP is installed and I can't even mockPhpExecutableFinder because it is hardcoded dependency and an implementation detail.

@maryomaryo changed the titleFix incorrectly calling PHP process on Windows when path contains space[Process] Fix incorrectly calling PHP process when path contains spaceMay 2, 2017
@nicolas-grekasnicolas-grekas added this to the3.3 milestoneMay 15, 2017
@nicolas-grekas
Copy link
Member

Thank you@maryo.

@nicolas-grekasnicolas-grekas merged commit9c08109 intosymfony:masterMay 15, 2017
nicolas-grekas added a commit that referenced this pull requestMay 15, 2017
…ntains space (maryo)This PR was merged into the 3.3-dev branch.Discussion----------[Process] Fix incorrectly calling PHP process when path contains space| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#22556| License       | MITI have PHP installed at "D:\Program Files\PHP" which contains a space. `PhpExecutableFinder` found it but then `PhpProcess` splitted the path by space. This PR fixes it. I wanted to write a test but I don't know ho to do it properly since it is dependent on the location where PHP is installed and I can't even mock `PhpExecutableFinder` because it is hardcoded dependency and an implementation detail.Commits-------9c08109 Fix incorrectly calling PHP process on Windows when path contains space
@fabpotfabpot mentioned this pull requestMay 17, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

3 participants

@maryo@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp