diff options
-rw-r--r-- | core/command/app/checkcode.php | 2 | ||||
-rw-r--r-- | lib/private/app/codechecker/deprecationcheck.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php index 79c34d6fb48..a4e7322460f 100644 --- a/core/command/app/checkcode.php +++ b/core/command/app/checkcode.php @@ -52,7 +52,7 @@ class CheckCode extends Command { 'checker', 'c', InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY, - 'enable the specified checker', + 'enable the specified checker(s)', [ 'private', 'deprecation', 'strong-comparison' ] ); } diff --git a/lib/private/app/codechecker/deprecationcheck.php b/lib/private/app/codechecker/deprecationcheck.php index bd34bac1a61..3b6dc968bb5 100644 --- a/lib/private/app/codechecker/deprecationcheck.php +++ b/lib/private/app/codechecker/deprecationcheck.php @@ -140,6 +140,8 @@ class DeprecationCheck extends AbstractCheck implements ICheck { 'OCP\Util::imagePath' => '8.1.0', 'OCP\Util::isValidFileName' => '8.1.0', 'OCP\Util::generateRandomBytes' => '8.1.0', + 'OCP\Util::mb_str_replace' => '8.2.0', + 'OCP\Util::mb_substr_replace' => '8.2.0', ]; } } |