diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-16 11:47:20 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-07-17 12:34:56 +0200 |
commit | 3566dcf246d122bbc4010aeb42c5b2d9259f8ea5 (patch) | |
tree | 8af477db4d9e2c405f689c6028b0122504461b04 | |
parent | 8a64abf4e45a5050ae27140ada4dd66eea4ae502 (diff) | |
download | nextcloud-server-3566dcf246d122bbc4010aeb42c5b2d9259f8ea5.tar.gz nextcloud-server-3566dcf246d122bbc4010aeb42c5b2d9259f8ea5.zip |
PR #17046 deprecated OCP\Util::mb_(sub)str_replace()
-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', ]; } } |