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.2 (Build 201609300101) Operating System = Linux version 4.8.4-200.fc24.x86_64 running on amd64 Java; VM; Vendor = 1.8.0_101 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13 Reproducibility: Happens every time STEPS: * I'm coding a project in PHP 5.6.27 * I want to override the method begin_transaction of the parent class mysqli * I start to write "public function be".. and the autocompletion window popup suggesting me the syntax to override begin_transaction of mysqli. * I accept the suggestion * After the suggested code is included in the class, the Editor underline it like an error saying that the feature is not compatible with the PHP version used in the project * Carefully looking, I get that the the suggested code is PHP 7 code (including the types in the method signature). ACTUAL: the suggested code for the method overriding is PHP 7 code EXPECTED: the suggested code for the method overriding should be of the version used in the project
Created attachment 162795 [details] IDE log
Created attachment 162796 [details] before
Created attachment 162797 [details] after