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 210353 - Immutable variables hint for fileds
Summary: Immutable variables hint for fileds
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-29 12:27 UTC by Ondrej Brejla
Modified: 2016-09-22 02:22 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 Ondrej Brejla 2012-03-29 12:27:19 UTC
Implement this hint for fields too:

<?php

class Foo {
    private static $st = 0;
    private $bar;
    function omg() {
        $this->bar = 1;
        $this->bar = 2; 
        self::$st = 10;
        self::$st = 20;
        // etc
    }
}
Comment 1 amobilia 2016-09-22 02:22:21 UTC
Reproductible in 8.2rc / Dev 201609210002