We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c949118 commit b68f71aCopy full SHA for b68f71a
MoxioSniffs/Sniffs/PHP/DisallowMbDetectEncodingSniff.php
@@ -13,7 +13,7 @@ protected function registerFunctions()
13
14
protected function processFunctionCall(File $phpcsFile, $functionName, $functionNamePtr, $argumentPtrs)
15
{
16
- $error = 'Using mb_detect_encoding() is now allowed; use mb_check_encoding() instead';
+ $error = 'Using mb_detect_encoding() is not allowed; use mb_check_encoding() instead';
17
$phpcsFile->addError($error, $functionNamePtr, 'Disallowed');
18
}
19
0 commit comments