Skip to content

Commit

Permalink
Toned down the message a little
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Jul 31, 2012
1 parent e215d34 commit e365c4d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -44,7 +44,7 @@ protected function processMemberVar(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
$tokens = $phpcsFile->getTokens();

if ($tokens[$stackPtr]['content'][1] === '_') {
$error = 'Property name "%s" SHOULD NOT be prefixed with an underscore to indicate visibility';
$error = 'Property name "%s" should not be prefixed with an underscore to indicate visibility';
$data = array($tokens[$stackPtr]['content']);
$phpcsFile->addWarning($error, $stackPtr, 'Underscore', $data);
}
Expand Down

0 comments on commit e365c4d

Please sign in to comment.