I am using phpcs with Squiz_Sniffs_Commenting_FunctionCommentSniff, and I get a message error "Expected type hint 'My\Namespace\Interface'; found 'AliasInterface' for $var at position 1.
I declare namespace at top of class adding alias and the method that receives this dependency has type hint using alias. So phpcs show an error about that.
Is there a way to phpcs validation considering alias?