-
-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Labels
Description
Describe the bug
Used imports are marked as unused. This happens when a class is imported only to import a PHPStan type from it.
To Reproduce
- Create 2 classes with different namespaces.
- Add a PHPStan type to one class.
- Import the PHPStan type in the other class.
Expected behavior
The import is marked as used.
Screenshots
Platform and version
OS: Windows 10
Intelephense version: 1.16.2