diff --git a/PHP/CodeSniffer/Graze/Sniffs/Naming/AbstractClassNamingSniff.php b/PHP/CodeSniffer/Graze/Sniffs/Naming/AbstractClassNamingSniff.php index 2a58aba..9e84100 100644 --- a/PHP/CodeSniffer/Graze/Sniffs/Naming/AbstractClassNamingSniff.php +++ b/PHP/CodeSniffer/Graze/Sniffs/Naming/AbstractClassNamingSniff.php @@ -75,7 +75,7 @@ public function process(File $phpcsFile, $stackPtr) $className = $phpcsFile->getDeclarationName($stackPtr); if (substr($className, 0, 8) !== 'Abstract') { - $phpcsFile->addError('Abstract class name "%s" must be prefixed with "Abstract"', $stackPtr, static::ERROR_CODE, '', [$className]); + $phpcsFile->addError('Abstract class name "%s" must be prefixed with "Abstract"', $stackPtr, static::ERROR_CODE, [$className]); } } }