Force an integer for the return of Shell::columns(). In cases such as a cron job for which there's actually not a terminal, this call will return an empty string, which in turn causes $size in Bar::display() to be negative, which in turn causes a php warning because the second parameter to str_repeat() must be >= 0.