Skip to content

Commit b68f71a

Browse files
committed
Fix typo in sniff message
1 parent c949118 commit b68f71a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MoxioSniffs/Sniffs/PHP/DisallowMbDetectEncodingSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ protected function registerFunctions()
1313

1414
protected function processFunctionCall(File $phpcsFile, $functionName, $functionNamePtr, $argumentPtrs)
1515
{
16-
$error = 'Using mb_detect_encoding() is now allowed; use mb_check_encoding() instead';
16+
$error = 'Using mb_detect_encoding() is not allowed; use mb_check_encoding() instead';
1717
$phpcsFile->addError($error, $functionNamePtr, 'Disallowed');
1818
}
1919
}

0 commit comments

Comments
 (0)