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

[Console] Suppress warning from sapi_windows_vt100_support #26211

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from Feb 18, 2018
Merged

[Console] Suppress warning from sapi_windows_vt100_support #26211

merged 1 commit into from Feb 18, 2018

Conversation

ghost
Copy link

@ghost ghost commented Feb 17, 2018

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #26210
License MIT

Suppresses warning from sapi_windows_vt100_support() for non-STDIO streams, e. g. php://memory.

@@ -450,7 +450,7 @@ protected function supportsColors()

if ('\\' === DIRECTORY_SEPARATOR) {
static::$defaultColors = @(
function_exists('sapi_windows_vt100_support') && sapi_windows_vt100_support($this->outputStream)
function_exists('sapi_windows_vt100_support') && @sapi_windows_vt100_support($this->outputStream)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already muted L452?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't notice, I'll fix it.

@chalasr
Copy link
Member

chalasr commented Feb 18, 2018

Thanks for fixing this bug and congratz for your first contribution to Symfony @adawolfa.

@chalasr chalasr merged commit 43f9421 into symfony:2.7 Feb 18, 2018
chalasr pushed a commit that referenced this pull request Feb 18, 2018
… (adawolfa)

This PR was merged into the 2.7 branch.

Discussion
----------

[Console] Suppress warning from sapi_windows_vt100_support

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #26210
| License       | MIT

Suppresses warning from `sapi_windows_vt100_support()` for non-STDIO streams, e. g. `php://memory`.

Commits
-------

43f9421 Suppress warning from sapi_windows_vt100_support on stream other than STDIO
@ghost ghost deleted the sapi_windows_vt100_support-warning-suppress branch February 18, 2018 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.