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 211831 - Add PHP Hint "Wrong Assignment"
Summary: Add PHP Hint "Wrong Assignment"
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-27 08:52 UTC by aleciri
Modified: 2012-07-12 06:05 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aleciri 2012-04-27 08:52:18 UTC
A new line like this should be notified: 

$a == $b;

It's an usual error on variable assignment.

At the same way there is "Accidental Assignement", there should be also this one.

Thank you
Comment 1 Ondrej Brejla 2012-07-10 11:50:01 UTC
Fixed in web-main #20784a387b8e
Comment 2 Quality Engineering 2012-07-11 03:28:42 UTC
Integrated into 'main-golden', will be available in build *201207110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/20784a387b8e
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #211831 - Add PHP Hint "Wrong Assignment"
Comment 3 Vladimir Riha 2012-07-12 06:05:53 UTC
verified

Product Version: NetBeans IDE Dev (Build 201207110002)
Updates: Updates available
Java: 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b08
System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)