[Bug]: the number of times the method is used is not counted
Bug description
Hi all!
Laravel version 10.48.29
I added a method to the standard user model
public function projectIds(): Collection
{
return $this->projects()->pluck('projects.id');
}
This method is used in 7 different places.
Without Laravel Idea it looks like this (correct)
After "Generate Helper Code" it looks like this
that is, it is as if the method is not used anywhere.
And if I click on no usages - it will show 7 usages.
Why? 🥺
The following is also not very convenient. There is no inheritance in fact.
Plugin version
11.3.0.252
Operating system
Windows
Steps to reproduce
No response
Relevant log output
We are also experiencing this on both Mac & Windows systems running Laravel IDEA.
My Install details: PhpStorm 2025.2 Build #PS-252.23892.419, built on August 2, 2025 Runtime version: 21.0.7+6-b1038.58 amd64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
After generating showing overrides (the helper code file) and no usages...
@adelf - is this still the appropriate place to report such issues, or do we do it via YouTrack now that PhpStorm/Jetbrains has acquired the plugin?
Hi, @CamKem. JetBrains hasn't acquired the plugin. It's a bit different. We are still deciding how our integration will work.
Please continue to post bugs/feature requests here. About your issue: yes, we don't support Find Usages for trait methods yet. I'll add this to our internal bug tracker.
@alexrififi, I'll check your issue soon. Thank you.