Thanks to visit codestin.com
Credit goes to github.com

Skip to content

support sapi_windows_vt100_support for php 7.2+ #25972

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

Conversation

jhdxr
Copy link
Contributor

@jhdxr jhdxr commented Jan 30, 2018

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets See below
License MIT
Doc PR N/A

php 7.2 enabled color support on windows(>=10.0.10586) and introduced a new function called sapi_windows_vt100_support to get and set the state. this PR add the support for this new function, so users on windows can see the colorful world again with php 7.2+.

@stof
Copy link
Member

stof commented Jan 30, 2018

@symfony/deciders should we merge this in 2.7, or should we consider it a new feature ?

For reference, the automatic detection of Mintty was backported to 2.3 in the past (see #15915), so merging in 2.7 looks fine.

@nicolas-grekas
Copy link
Member

For 2.7: infrastructure-related changes are bug fixes (similarly to PR fixing issues with newer versions of PHP)

@nicolas-grekas nicolas-grekas added this to the 2.7 milestone Jan 30, 2018
@jhdxr
Copy link
Contributor Author

jhdxr commented Jan 30, 2018

travis ci fails due to an issue on the base branch, I'll rebase these changes when it has been fixed if necessary.

@nicolas-grekas
Copy link
Member

Thank you @jhdxr.

@nicolas-grekas nicolas-grekas merged commit 5bbb77b into symfony:2.7 Jan 31, 2018
nicolas-grekas added a commit that referenced this pull request Jan 31, 2018
This PR was merged into the 2.7 branch.

Discussion
----------

support sapi_windows_vt100_support for php 7.2+

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | See below
| License       | MIT
| Doc PR        | N/A

php 7.2 enabled color support on windows(>=10.0.10586) and introduced a new function called `sapi_windows_vt100_support` to get and set the state. this PR add the support for this new function, so users on windows can see the colorful world again with php 7.2+.

Commits
-------

5bbb77b support sapi_windows_vt100_support for php 7.2+
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.

7 participants