Skip to content

Commit eba9a14

Browse files
Merge branch '4.4' into 5.3
* 4.4: [Form] UrlType should not add protocol to emails Silence isatty warnings during tty detection Replaced full CoC text with link to documentation
2 parents a192f85 + c28ae0c commit eba9a14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DeprecationErrorHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,11 +408,11 @@ private static function hasColorSupport()
408408
}
409409

410410
if (\function_exists('stream_isatty')) {
411-
return stream_isatty(\STDOUT);
411+
return @stream_isatty(\STDOUT);
412412
}
413413

414414
if (\function_exists('posix_isatty')) {
415-
return posix_isatty(\STDOUT);
415+
return @posix_isatty(\STDOUT);
416416
}
417417

418418
$stat = fstat(\STDOUT);

0 commit comments

Comments
 (0)