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

[Console] Fix bug in windows detection#16578

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

Closed
kbond wants to merge1 commit intosymfony:2.8fromkbond:patch-5
Closed

[Console] Fix bug in windows detection#16578

kbond wants to merge1 commit intosymfony:2.8fromkbond:patch-5

Conversation

@kbond
Copy link
Member

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#16577
LicenseMIT
Doc PRn/a

@kbondkbond changed the titleFix bug in windows detection[Console] Fix bug in windows detectionNov 17, 2015
@javiereguiluz
Copy link
Member

👍

@xabbuh
Copy link
Member

👍

Status: Reviewed

@ewgRa
Copy link
Contributor

Just a curious.

What is a standard way to check OS in Symfony?

At some places it is check DIRECTORY_SEPARATOR, in another places it is strpos(PHP_OS, "WIN") === 0.

@xabbuh
Copy link
Member

@ewgRa We always check the value of theDIRECTORY_SEPARATOR constant. There shouldn't be any other checks anymore (we unified that some time ago).

@fabpot
Copy link
Member

Thank you@kbond.

fabpot added a commit that referenced this pull requestNov 18, 2015
This PR was submitted for the 2.8 branch but it was merged into the 2.7 branch instead (closes#16578).Discussion----------[Console] Fix bug in windows detection| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#16577| License       | MIT| Doc PR        | n/aCommits-------c4068d9 Fix bug in windows detection
@fabpotfabpot closed thisNov 18, 2015
@fabpotfabpot mentioned this pull requestNov 23, 2015
This was referencedNov 30, 2015
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

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@kbond@javiereguiluz@xabbuh@ewgRa@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp