Open
Description
Describe the bug (*)
When using a path repository for development, you'll often have two directories containing the same code. One in your path (and project), and one in the vendor directory. When this happens, the plugin will flag false positives.
To Reproduce (*)
Steps to reproduce the behavior:
- Include a Magento module with a Composer local path repository.
- Add a plugin to any class.
- Add an observer to any class.
Expected behavior (*)
No issues are reported for the plugin and for the observer.
Screenshots
Shamelessly taken from #372:
Please complete the following information: (*)
- OS: Ubuntu Linux 22.04
- PhpStorm/Intellij version: 2023.1.2
- Plugin Version: 5.1.1
Additional context
The issue has already been reported in #372 and closed, but it is not solved yet / was introduced again.