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.

Bug 257138

Summary: PHP find usages shouldn't find deklaration.
Product: php Reporter: Christian Lenz <chrizzly>
Component: RefactoringAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

Description Christian Lenz 2015-12-14 13:34:56 UTC
When I call find usages for a php class in my PHP file and the source looks:

class MyTestClass extends foo {

}

netbeans found exactly this declaration too, which is confusing. It is only declareted here and not used. Usages would be new MyTestClass or MyTestClass::staticStuff.


Regards

Chris
Comment 1 Christian Lenz 2016-06-28 07:36:55 UTC
Ok, because I found this feature usefull and created an other thicket to having this feature: https://netbeans.org/bugzilla/show_bug.cgi?id=257535 I will close this ticket.