We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 286b9c9 commit c4d9785Copy full SHA for c4d9785
DeprecationErrorHandler.php
@@ -404,13 +404,10 @@ private static function hasColorSupport()
404
}
405
406
if (!self::isTty()) {
407
- return true;
+ return false;
408
409
410
- if ('\\' === \DIRECTORY_SEPARATOR
411
- && \function_exists('sapi_windows_vt100_support')
412
- && @sapi_windows_vt100_support(\STDOUT)
413
- ) {
+ if ('\\' === \DIRECTORY_SEPARATOR && \function_exists('sapi_windows_vt100_support') && @sapi_windows_vt100_support(\STDOUT)) {
414
return true;
415
416
0 commit comments