Skip to content

Commit 81f5e8e

Browse files
Merge branch '5.4' into 6.0
* 5.4: (21 commits) [Finder] Fix finding VCS re-included files in excluded directory [Yaml] Improve the deprecation warnings for octal numbers to suggest migrating Fix Choice constraint with associative choices array [Form] UrlType should not add protocol to emails [Dotenv] Fix bootEnv() override with .env.local.php when the env key already exists 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 [HttpKernel] Fix compatibility with php bridge and already started php sessions [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 d6b87e1 + 216b07b commit 81f5e8e

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)