From 3566dcf246d122bbc4010aeb42c5b2d9259f8ea5 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 16 Jul 2015 11:47:20 +0200 Subject: PR #17046 deprecated OCP\Util::mb_(sub)str_replace() --- core/command/app/checkcode.php | 2 +- lib/private/app/codechecker/deprecationcheck.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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', ]; } } -- cgit v1.2.3