From 4e9d99032b375e474e49d462d606cebbca2b03aa Mon Sep 17 00:00:00 2001 From: Norbert Orzechowicz Date: Thu, 5 Sep 2013 14:15:57 +0200 Subject: [PATCH] Ignore posix_istatty warnings --- src/Symfony/Component/Console/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index ff26eeb12b..1381d5f394 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -171,7 +171,7 @@ class Application if (function_exists('posix_isatty') && $this->getHelperSet()->has('dialog')) { $inputStream = $this->getHelperSet()->get('dialog')->getInputStream(); - if (!posix_isatty($inputStream)) { + if (!@posix_isatty($inputStream)) { $input->setInteractive(false); } }