Drupal.Classes.UnusedUseStatement doesn't recognize annotations

Created on 29 November 2015, over 9 years ago
Updated 31 May 2024, 10 months ago

PhpStorm recognizes annotations and allows importing the class in order to facilitate jumping to the annotation definition from its usage (e.g. @Plugin).

However, Coder Sniffer does not "see" this usage and says that the statement is not used. I don't think there are any coding standards on this either way, so I think the sniff should recognize this usage (or we should establish a standard first).

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Coder Sniffer

Created by

🇳🇴Norway wizonesolutions Norway

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024