From: Kunal Mehta Date: Fri, 25 May 2018 18:16:16 +0000 (-0700) Subject: Hard deprecate UtfNormal methods X-Git-Tag: 1.34.0-rc.0~5290^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=503cee7fb2b31a1f194e700700d23ca66cff0be1;p=lhc%2Fweb%2Fwiklou.git Hard deprecate UtfNormal methods Change-Id: Iafbf89aa85ae77cd790aeac6911ccc2d014a6c65 --- diff --git a/includes/compat/normal/UtfNormal.php b/includes/compat/normal/UtfNormal.php index 308bef6458..bce1ea602f 100644 --- a/includes/compat/normal/UtfNormal.php +++ b/includes/compat/normal/UtfNormal.php @@ -57,6 +57,7 @@ class UtfNormal { * @return string a clean, shiny, normalized UTF-8 string */ static function cleanUp( $string ) { + wfDeprecated( __METHOD__, '1.25' ); return Validator::cleanUp( $string ); } @@ -69,6 +70,7 @@ class UtfNormal { * @return string a UTF-8 string in normal form C */ static function toNFC( $string ) { + wfDeprecated( __METHOD__, '1.25' ); return Validator::toNFC( $string ); } @@ -80,6 +82,7 @@ class UtfNormal { * @return string a UTF-8 string in normal form D */ static function toNFD( $string ) { + wfDeprecated( __METHOD__, '1.25' ); return Validator::toNFD( $string ); } @@ -92,6 +95,7 @@ class UtfNormal { * @return string a UTF-8 string in normal form KC */ static function toNFKC( $string ) { + wfDeprecated( __METHOD__, '1.25' ); return Validator::toNFKC( $string ); } @@ -104,6 +108,7 @@ class UtfNormal { * @return string a UTF-8 string in normal form KD */ static function toNFKD( $string ) { + wfDeprecated( __METHOD__, '1.25' ); return Validator::toNFKD( $string ); } @@ -114,6 +119,7 @@ class UtfNormal { * @return bool */ static function quickIsNFC( $string ) { + wfDeprecated( __METHOD__, '1.25' ); return Validator::quickIsNFC( $string ); } @@ -124,6 +130,7 @@ class UtfNormal { * @return bool */ static function quickIsNFCVerify( &$string ) { + wfDeprecated( __METHOD__, '1.25' ); return Validator::quickIsNFCVerify( $string ); } }