Selenium: replace UserLoginPage with BlankPage where possible
[lhc/web/wiklou.git] / includes / libs / replacers / RegexlikeReplacer.php
index 9874f52..bdc4dc0 100644 (file)
@@ -20,6 +20,8 @@
 
 /**
  * Class to replace regex matches with a string similar to that used in preg_replace()
+ *
+ * @deprecated since 1.32, use a Closure instead
  */
 class RegexlikeReplacer extends Replacer {
        private $r;
@@ -28,6 +30,7 @@ class RegexlikeReplacer extends Replacer {
         * @param string $r
         */
        public function __construct( $r ) {
+               wfDeprecated( __METHOD__, '1.32' );
                $this->r = $r;
        }