Skip to content

Commit 1569cbf

Browse files
committed
Fix FQCN false positive issue.
1 parent c8c9e1f commit 1569cbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhpCollective/Sniffs/Commenting/AttributesSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function process(File $phpCsFile, $stackPointer): void
3838

3939
$tokens = $phpCsFile->getTokens();
4040

41-
if ($tokens[$nextIndex]['code'] === T_NS_SEPARATOR) {
41+
if ($tokens[$nextIndex]['code'] === T_NS_SEPARATOR || $tokens[$nextIndex]['code'] === T_NAME_FULLY_QUALIFIED) {
4242
return;
4343
}
4444

0 commit comments

Comments
 (0)