Skip to content

Commit

Permalink
Fix #3354
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet authored and sebastianbergmann committed Oct 19, 2018
1 parent 37511ba commit 5dec585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextUI/TestRunner.php
Expand Up @@ -158,7 +158,7 @@ public function doRun(Test $suite, array $arguments = [], bool $exit = true): Te

$this->handleConfiguration($arguments);

if ($arguments['columns'] < 16) {
if (\is_int($arguments['columns']) && $arguments['columns'] < 16) {
$arguments['columns'] = 16;
$tooFewColumnsRequested = true;
}
Expand Down

0 comments on commit 5dec585

Please sign in to comment.