mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
add FQN-by defaultn ote
This commit is contained in:
parent
8f30925bf5
commit
3b76ef97c6
@ -545,6 +545,10 @@ final class DocBlockManipulator
|
||||
return $this->phpDocInfoFactory->createFromNode($node);
|
||||
}
|
||||
|
||||
/**
|
||||
* All class-type tags are FQN by default to keep default convention through the code.
|
||||
* Some people prefer FQN, some short. FQN can be shorten with \Rector\CodingStyle\Rector\Namespace_\ImportFullyQualifiedNamesRector later, while short prolonged not
|
||||
*/
|
||||
private function addTypeSpecificTag(Node $node, string $name, string $type): void
|
||||
{
|
||||
// prefix possible class name
|
||||
|
Loading…
x
Reference in New Issue
Block a user