8000 Ignore posix_istatty warnings · norberttech/symfony@cc255dd · GitHub
[go: up one dir, main page]

Skip to content

Commit cc255dd

Browse files
author
Norbert Orzechowicz
committed
Ignore posix_istatty warnings
1 parent 6bbcb21 commit cc255dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function doRun(InputInterface $input, OutputInterface $output)
177177

178178
if (function_exists('posix_isatty') && $this->getHelperSet()->has('dialog')) {
179179
$inputStream = $this->getHelperSet()->get('dialog')->getInputStream();
180-
if (!posix_isatty($inputStream)) {
180+
if (!@posix_isatty($inputStream)) {
181181
$input->setInteractive(false);
182182
}
183183
}

0 commit comments

Comments
 (0)
0