diff --git a/src/Symfony/Component/Console/Helper/QuestionHelper.php b/src/Symfony/Component/Console/Helper/QuestionHelper.php index 134f6231e52fe..2ee31822c56ef 100644 --- a/src/Symfony/Component/Console/Helper/QuestionHelper.php +++ b/src/Symfony/Component/Console/Helper/QuestionHelper.php @@ -512,11 +512,11 @@ private function isTty(): bool $inputStream = !$this->inputStream && \defined('STDIN') ? STDIN : $this->inputStream; if (\function_exists('stream_isatty')) { - return stream_isatty($inputStream); + return @stream_isatty($inputStream); } if (\function_exists('posix_isatty')) { - return posix_isatty($inputStream); + return @posix_isatty($inputStream); } return true; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy