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 267688 - Incorrect and misleading hint of PHP coding error in editor
Summary: Incorrect and misleading hint of PHP coding error in editor
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-23 20:02 UTC by jimbrooking
Modified: 2016-08-23 20:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (36.61 KB, text/plain)
2016-08-23 20:02 UTC, jimbrooking
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jimbrooking 2016-08-23 20:02:10 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens every time

STEPS:
  * Open any PHP program

ACTUAL:
  * Scroll to simple assignment statement, e.g., $txt = str_replace( '%1', $ackPage, $txt);
  * Observe warning yellow triangle in line number column
  * Hover over triangle
  * See warning message :You should use only" (1 assignment(s) (2 used) to a variable $txt
EXPECTED:
  * No warning triangle, no erroneous hint

Unfortunately no apparent capability to include a screen shot
Comment 1 jimbrooking 2016-08-23 20:02:15 UTC
Created attachment 161755 [details]
IDE log