Skip to content

Commit 79e0887

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 2f90325 + 0259f01 commit 79e0887

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Helper/QuestionHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,11 @@ private function isInteractiveInput($inputStream): bool
489489
}
490490

491491
if (\function_exists('stream_isatty')) {
492-
return self::$stdinIsInteractive = stream_isatty(fopen('php://stdin', 'r'));
492+
return self::$stdinIsInteractive = @stream_isatty(fopen('php://stdin', 'r'));
493493
}
494494

495495
if (\function_exists('posix_isatty')) {
496-
return self::$stdinIsInteractive = posix_isatty(fopen('php://stdin', 'r'));
496+
return self::$stdinIsInteractive = @posix_isatty(fopen('php://stdin', 'r'));
497497
}
498498

499499
if (!\function_exists('exec')) {

0 commit comments

Comments
 (0)