Ppito / laminas-whoops

Laminas-Whoops, integrated whoops in Laminas
MIT License
3 stars 5 forks source link

Source display line is "off by one". #7

Open bitwombat opened 3 years ago

bitwombat commented 3 years ago

The error in the screenshot is at line 208, but the source display starts on line 209. Not sure if this is Whoops' problem or laminas-whoops'?

image

Log-SZ commented 3 years ago

Will there be comming a fix? Thats makes the view useless, Why are the code line overflow:hidden?

dirty workaround for me is to copy vendor/ppito/laminas-whoops/view/render.phtml, set in config and implement a style block

<style> .code-block.line-numbers.language-php { overflow: auto!important; } </style> <?php echo $result;