If there is a use statement in the file then we know the fully qualified namespace of a class. If that class name is referenced in @param, @return or @var then it should be fully namespaced.

Comments

klausi created an issue. See original summary.

  • klausi committed e035f3b on 8.x-2.x
    feat(DataTypeNamespaceSniff): Add sniff to detect and fix missing...
klausi’s picture

Status: Active » Fixed

Implemented a sniff + fixer.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

mroest’s picture

Maybe, a stupid question but can someone explain why it should be fully namespaced? It is because some tools can't handle the aliased name? Thanks