View Issue Details

IDProjectCategoryView StatusLast Update
0001041XdebugUncategorizedpublic2014-06-21 21:51
Reporteraik099 Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
OSSlackware LinuxOS Version13.37 
Product Version2.2.4 
Summary0001041: Dead code reported after "return" and "throw"
Description

Before PHPUnit wasn't highlighting dead code properly. Now it does (yellow lines) and I don't know why every closing brace after "throw" or "return" statement is considered as a dead code (see image).

TagsNo tags attached.
Attached Files
PhpUnit_DeadCode.png (100,489 bytes)   
PhpUnit_DeadCode.png (100,489 bytes)   
Operating System
PHP Version5.4.20-5.4.24

Activities

derick

2014-06-21 21:51

administrator   ~0002853

Hi.

Lots of people have asked me, and this is not a bug. I've written a lengthy explanation at http://drck.me/deadcode-azx

cheers,
Derick

Issue History

Date Modified Username Field Change
2014-03-23 11:39 aik099 New Issue
2014-03-23 11:39 aik099 File Added: PhpUnit_DeadCode.png
2014-06-21 21:51 derick Note Added: 0002853
2014-06-21 21:51 derick Status new => resolved
2014-06-21 21:51 derick Resolution open => no change required
2014-06-21 21:51 derick Assigned To => derick
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized