Skip to content
Snippets Groups Projects

typo StartWithCaptial fix.

Closed Mahesh Bandhiya requested to merge issue/coder-3306486:3306486-fix-typo-in into 8.3.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -70,7 +70,7 @@ class ValidClassNameSniff implements Sniff
// Make sure the first letter is a capital.
if (preg_match('|^[A-Z]|', $name) === 0) {
$error = '%s name must begin with a capital letter';
$phpcsFile->addError($error, $stackPtr, 'StartWithCaptial', $errorData);
$phpcsFile->addError($error, $stackPtr, 'StartWithCapital', $errorData);
}
// Search for underscores.
Loading