Skip to content

Commit adae4aa

Browse files
authored
Merge pull request #24 from kubawerlos/bugfix/removing-if-condition-with-undefined-variable
Removing if condition with undefined variable
2 parents a91ee99 + 557d959 commit adae4aa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Command/LintCommand.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,6 @@ protected function getScreenColumns()
354354
return $columns - 1;
355355
}
356356

357-
if (!(function_exists('posix_isatty') && @posix_isatty($fileDescriptor))) {
358-
return 80;
359-
}
360-
361357
if (function_exists('shell_exec') && preg_match('#\d+ (\d+)#', shell_exec('stty size'), $match) === 1) {
362358
if ((int) $match[1] > 0) {
363359
return (int) $match[1];

0 commit comments

Comments
 (0)