MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001041XdebugUsage problems (Wrong Results)public2014-03-23 11:392014-06-21 22:51
Reporteraik099 
Assigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
PlatformOSSlackware LinuxOS Version13.37
Product Version2.2.4 
Target VersionFixed in Version 
Summary0001041: Dead code reported after "return" and "throw"
DescriptionBefore 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.
Operating System
PHP Version5.4.20-5.4.24
Attached Filespng file icon PhpUnit_DeadCode.png [^] (100,489 bytes) 2014-03-23 11:39

- Relationships

-  Notes
(0002853)
derick (administrator)
2014-06-21 22:51

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 22:51 derick Note Added: 0002853
2014-06-21 22:51 derick Status new => resolved
2014-06-21 22:51 derick Resolution open => no change required
2014-06-21 22:51 derick Assigned To => derick
2016-07-31 13:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 13:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker