Skip to content

Commit 216b07b

Browse files
Merge branch '5.3' into 5.4
* 5.3: Fix Choice constraint with associative choices array [Form] UrlType should not add protocol to emails Silence isatty warnings during tty detection [Serializer] Fix AbstractObjectNormalizer not considering pseudo type false [Notifier] Fix encoding of messages with FreeMobileTransport [Cache] workaround PHP crash [Console] Fix PHP 8.1 deprecation in ChoiceQuestion [Notifier] smsapi-notifier - correct encoding Replaced full CoC text with link to documentation Making the parser stateless [Console] fix restoring stty mode on CTRL+C fix merge (bis) fix merge [Process] Avoid calling fclose on an already closed resource [GHA] test tty group [DI] Fix tests on PHP 7.1
2 parents c724e4e + eba9a14 commit 216b07b

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)