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.
In case of class, it is marked as an error. <?php trait MyTrait { public function publicMethod() // no error { } public function publicMethod() // no error { } } class MyClass { public function publicMethod() // marked as an error { } public function publicMethod() { } } my environment: Product Version: NetBeans IDE 8.1 (Build 201510222201) Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b17 Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b17 System: Linux version 3.13.0-71-generic running on amd64; UTF-8 Thanks.
Created attachment 157753 [details] patch
I've created a patch. Could you please review it? Thanks.
Taking over.
Patch applied, thanks a lot, Junichi! http://hg.netbeans.org/web-main/rev/27bed5e7377e
Integrated into 'main-silver', will be available in build *201512120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/27bed5e7377e User: Tomas Mysik <tmysik@netbeans.org> Log: #257094 - A redeclared trait method is not marked as a hint error Patch contributed by junichi11@netbeans.org.