Skip to content

Commit

Permalink
Merge branch '4.4' into 5.3
Browse files Browse the repository at this point in the history
* 4.4:
  [Form] UrlType should not add protocol to emails
  Silence isatty warnings during tty detection
  Replaced full CoC text with link to documentation
  • Loading branch information
nicolas-grekas committed Jan 26, 2022
2 parents 2f90325 + 0259f01 commit 79e0887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Helper/QuestionHelper.php
Expand Up @@ -489,11 +489,11 @@ private function isInteractiveInput($inputStream): bool
}

if (\function_exists('stream_isatty')) {
return self::$stdinIsInteractive = stream_isatty(fopen('php://stdin', 'r'));
return self::$stdinIsInteractive = @stream_isatty(fopen('php://stdin', 'r'));
}

if (\function_exists('posix_isatty')) {
return self::$stdinIsInteractive = posix_isatty(fopen('php://stdin', 'r'));
return self::$stdinIsInteractive = @posix_isatty(fopen('php://stdin', 'r'));
}

if (!\function_exists('exec')) {
Expand Down

0 comments on commit 79e0887

Please sign in to comment.