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.
:: operator cannot be used with an object in PHP5.2 or older. So if PHP5.2/5.1 is set to project properties as a PHP Version, it should be marked as an error. This is related to issue 240527. Thanks.
Created attachment 158124 [details] patch
Created attachment 158125 [details] screenshot PHP5.2/5.1 and PHP5.3
Tomas, could you please review it? Sorry, I was not sure how to test them... Thanks.
These hints for checking PHP version do not need any tests IMO so it is OK. I will apply the patch on Monday I hope (currently working on something else, sorry). Thanks a lot, as always great job!
Patch applied, thank you, Junichi! http://hg.netbeans.org/web-main/rev/256bcdcd6708
Thanks a lot for reviewing it!
Integrated into 'main-silver', will be available in build *201601190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/256bcdcd6708 User: Tomas Mysik <tmysik@netbeans.org> Log: #257560 - Add HintErrors for :: operator Patch contributed by junichi11@netbeans.org.