Closed seitechsoftware closed 1 year ago
I can confirm this issue with PhpStorm 2023.2
I can confirm this as well. Tried reinstalling the plugin but to no avail. I found this with the Route and IsGranted annotations.
yes, we already have an issue: https://github.com/Haehnchen/idea-php-annotation-plugin/issues/290
based on https://youtrack.jetbrains.com/issue/WI-73212/Import-is-never-used-False-positive-for-symfony-annotations-added-to-PHPDoc with the next bugfix release 2023.2.1 it should work again
PhpStorm bugfix is out, all cases are working again, validated via tests also: https://github.com/Haehnchen/idea-php-annotation-plugin/pull/293
The problem is, in code inspection, PHPStorm reports:
Alias 'Doctrine\ORM\Mapping AS ORM' is never used
This has started to happen with the new version of PhpStorm 2023.2, rollback to PhpStorm 2023.1.4 solves de issue.
https://youtrack.jetbrains.com/issue/WI-14448