This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 206970

Summary: Formatting of unused variable value
Product: php Reporter: Vladimir Riha <vriha>
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED WORKSFORME    
Severity: normal CC: amobilia
Priority: P4    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Screenshoot of the fonctionnality

Description Vladimir Riha 2012-01-06 07:24:17 UTC
Detect if a value of some variable is never used and mark this variable (hint, gray color...). It can help to find useless parts of code.

Example:
$foo = 1;
$foo = 2;
echo $foo;

The value 1 is never used and the text "$foo=1;" could be underlined or gray.
Comment 1 amobilia 2016-09-22 01:41:37 UTC
Created attachment 162163 [details]
Screenshoot of the fonctionnality

Hi,

It's done on the 8.2 (rc) with warning of two assignements.
Probalby added before.