PR #17046 deprecated OCP\Util::mb_(sub)str_replace()

remotes/origin/handlebars-approach
Joas Schilling 11 years ago
parent 8a64abf4e4
commit 3566dcf246
  1. 2
      core/command/app/checkcode.php
  2. 2
      lib/private/app/codechecker/deprecationcheck.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' ]
);
}

@ -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',
];
}
}

Loading…
Cancel
Save