Skip to content

Commit 86ab250

Browse files
committed
minor symfony#14742 [CS] [Console] StreamOuput : fix loose comparison (ogizanagi)
This PR was merged into the 2.3 branch. Discussion ---------- [CS] [Console] StreamOuput : fix loose comparison | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- cd70ca8 [CS] [Console] StreamOuput : fix loose comparison
2 parents ce2a47a + cd70ca8 commit 86ab250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Output/StreamOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected function doWrite($message, $newline)
9797
protected function hasColorSupport()
9898
{
9999
// @codeCoverageIgnoreStart
100-
if (DIRECTORY_SEPARATOR == '\\') {
100+
if (DIRECTORY_SEPARATOR === '\\') {
101101
return false !== getenv('ANSICON') || 'ON' === getenv('ConEmuANSI');
102102
}
103103

0 commit comments

Comments
 (0)