Skip to content
Snippets Groups Projects
Commit 37bc16cd authored by Mahesh Bandhiya's avatar Mahesh Bandhiya Committed by Klaus Purer
Browse files

fix(ValidClassName): Fix typo in error code, sorry! Please update your phpcs...

fix(ValidClassName): Fix typo in error code, sorry! Please update your phpcs config if you reference it (#3306486 by bmahesh03121)
parent 446dea29
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment