X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fpsy%2Fpsysh%2Fsrc%2FPsy%2FCommand%2FWtfCommand.php;fp=vendor%2Fpsy%2Fpsysh%2Fsrc%2FPsy%2FCommand%2FWtfCommand.php;h=af3bcd143b4528be94875bb1af70b365d43d7151;hp=2e5c00ce14e108384ba2c3fdb25c6eb5aeb06dcb;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/psy/psysh/src/Psy/Command/WtfCommand.php b/vendor/psy/psysh/src/Psy/Command/WtfCommand.php index 2e5c00ce1..af3bcd143 100644 --- a/vendor/psy/psysh/src/Psy/Command/WtfCommand.php +++ b/vendor/psy/psysh/src/Psy/Command/WtfCommand.php @@ -98,13 +98,13 @@ HELP $output->startPaging(); do { $traceCount = count($exception->getTrace()); - $showLines = $count; + $showLines = $count; // Show the whole trace if we'd only be hiding a few lines if ($traceCount < max($count * 1.2, $count + 2)) { $showLines = PHP_INT_MAX; } - $trace = $this->getBacktrace($exception, $showLines); + $trace = $this->getBacktrace($exception, $showLines); $moreLines = $traceCount - count($trace); $output->writeln($shell->formatException($exception));