Skip to content

Commit

Permalink
Merge pull request SnapInteractive#2 from rhowardiv/topsr2
Browse files Browse the repository at this point in the history
Relax class name req's; we're not yet namespacing
  • Loading branch information
rhowardiv committed Jan 2, 2013
2 parents 7e04d48 + e979e62 commit 65bd863
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -78,12 +78,12 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
$valid = PHP_CodeSniffer::isCamelCaps($name, true, true, false);
if ($valid === false) {
$type = ucfirst($tokens[$stackPtr]['content']);
$error = '%s name "%s" is not in camel caps format';
$error = '%s name "%s" is not in camel caps format or uses underscores instead of namespacing';
$data = array(
$type,
$name,
);
$phpcsFile->addError($error, $stackPtr, 'NotCamelCaps', $data);
$phpcsFile->addWarning($error, $stackPtr, 'NotCamelCaps', $data);
}

}//end process()
Expand Down

0 comments on commit 65bd863

Please sign in to comment.