Skip to content

SlevomatCodingStandard.Namespaces.UnusedUses deletes uses from @see #1785

@LubomirKosper

Description

@LubomirKosper

Your sniffs are very helpful to us. We have classes (let's call them "repositories") that handle work with entities. In the class comments, we have:

/**
 * Service for {@see ABCEntity}.
 */
final class ABCService

We have Use ABCEntity in uses. The problem is that sniff evaluates it as unnecessary and deletes use. From that moment on, we don't know exactly which entity it refers to. Switching "searchAnnotations: true" didn't help either.

Would it be possible to also take occurrences in @see in comments? We would like to use your sniff, but in its current state it is unusable for us.

Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions