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.
Product Version = NetBeans IDE 8.0.1 (Build 201408251540) Operating System = Windows Server 2012 version 6.2 running on amd64 Java; VM; Vendor = 1.8.0_20 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23 See attached testcase
Created attachment 149182 [details] Demonstrates the bug
Reproducible. Thanks for reporting.
IMHO this is a new feature of PHP (5.4?) where inside anonymous functions, one can use "self" and "$this" whithout defining them in use() part of the anonymous function declaration.
That also means that there is no code-completion after $this and self.
One more special case - "parent".
Should be fixed now, please verify (find usages, code completion). Thanks. http://hg.netbeans.org/web-main/rev/5cb225a15d00 http://hg.netbeans.org/web-main/rev/faa6757992af http://hg.netbeans.org/web-main/rev/1a5cc7cdcd1b
Integrated into 'main-silver', will be available in build *201606150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5cb225a15d00 User: Tomas Mysik <tmysik@netbeans.org> Log: #247082 - Calls to a static method within a closure can't be refactored Mark occurrences fixed now.