Skip to content

Commit f7c0266

Browse files
committed
Generic/AbstractClassNamePrefix: replace code comment instead of remove
1 parent dd00784 commit f7c0266

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Standards/Generic/Sniffs/NamingConventions/AbstractClassNamePrefixSniff.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function process(File $phpcsFile, $stackPtr)
4545

4646
$className = $phpcsFile->getDeclarationName($stackPtr);
4747
if ($className === null) {
48+
// Live coding or parse error.
4849
return;
4950
}
5051

0 commit comments

Comments
 (0)