Skip to content

Commit 0835617

Browse files
committed
Travis has custom TTY
1 parent f158d5d commit 0835617

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/vendor
22
.php_cs.cache
3+
composer.lock

lib/ErrorHandler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ public function setTerminalWidth(int $terminalWidth)
7777
public function getTerminalWidth()
7878
{
7979
if ($this->terminalWidth === null) {
80+
$this->setTerminalWidth(80);
81+
8082
// @codeCoverageIgnoreStart
8183
if (defined('PHP_WINDOWS_VERSION_BUILD') and $ansicon = getenv('ANSICON')) {
8284
$this->setTerminalWidth((int) preg_replace('{^(\d+)x.*$}', '$1', $ansicon));

0 commit comments

Comments
 (0)