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.
Summary: | Overriding methods visibility in traits does not affects on CC hints | ||
---|---|---|---|
Product: | php | Reporter: | fruit <fruit> |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | NEW --- | ||
Severity: | normal | CC: | amobilia, EdmondX |
Priority: | P3 | Keywords: | UI |
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
fruit
2012-06-05 14:51:12 UTC
Nothing from "use traits block" wasn't implemented in this firts support implementation (which is in 7.2). All things are enhancements for 7.3 and later (adding aliased methods into CC, and such). It has been mentioned in blog post afaik. Thanks for your interrest. By "use traits block" I mean that block part after use trait statement ;) Where conflicts are solved and such :) Code inspector ignores implementation trait methods when class implements interface. Example: <?PHP interface DependencyInjection { public function _inject_dependencies(); } trait LazyInjector { public function _inject_dependencies() { ... } } class Configurator implements DependencyInjection ^^^^^^^^^^^^ -- IDE marks the class does not implement the method _inject_dependencies() { use LazyInjector; EdmondX that issue is fixed in dev build. Reproductible in 8.2rc / Dev 201609210002 |