{"push_id":2450325149,"size":2,"distinct_size":2,"ref":"refs/heads/2.7","head":"d73f491ed574f21a610a956f1350f984c9c0593f","before":"3758a3b1b32e4ed666267cf0d6211db5929af494","commits":[{"sha":"f7f81892a0df39e27d75a47cec74806a49b93f0f","author":{"name":"Michele Locati","email":"a2a7bb24b8cf5fcfc2da6d2a0edda88905ccd6c0@locati.it"},"message":"Fix check of color support on Windows\n\nIf the stream is redirected, the script should behave the same on Windows\nand on POSIX systems.","distinct":true,"url":"https://api.github.com/repos/symfony/symfony/commits/f7f81892a0df39e27d75a47cec74806a49b93f0f"},{"sha":"d73f491ed574f21a610a956f1350f984c9c0593f","author":{"name":"Fabien Potencier","email":"6094910757de3667a08340f5b21f6399d2ffcc52@gmail.com"},"message":"bug #26609 [Console] Fix check of color support on Windows (mlocati)\n\nThis PR was merged into the 2.7 branch.\n\nDiscussion\n----------\n\n[Console] Fix check of color support on Windows\n\n| Q             | A\n| ------------- | ---\n| Branch?       | 2.7\n| Bug fix?      | yes\n| New feature?  | no\n| BC breaks?    | no\n| Deprecations? | no\n| Tests pass?   | yes\n| Fixed tickets |\n| License       | MIT\n| Doc PR        |\n\nIf the stream is redirected, `StreamOutput::hasColorSupport()` returns `false` on POSIX systems.\nOn Windows, this is not always true. Before PHP 7.2 we can't say if the stream is redirected, but since PHP 7.2 we have the `stream_isatty` function that works on Windows too: let's use it.\n\nSure, `sapi_windows_vt100_support` should return `false` if the stream is redirected, but it's in `or` with the other conditions, so the logic was flawed.\n\nCommits\n-------\n\nf7f81892a0 Fix check of color support on Windows","distinct":true,"url":"https://api.github.com/repos/symfony/symfony/commits/d73f491ed574f21a610a956f1350f984c9c0593f"}]}
{"actor":{"display_login":"fabpot"}}