Update LanguageTrTest::testDottedAndDotlessI for PHP 7.3
authorSanthosh Thottingal <santhosh.thottingal@gmail.com>
Tue, 23 Jul 2019 06:50:52 +0000 (12:20 +0530)
committerReedy <reedy@wikimedia.org>
Wed, 24 Jul 2019 06:12:37 +0000 (06:12 +0000)
commitd6ba90904c15d0fd8f1b84820a7d99678a1fd025
treed5e834a2ef40a6d70a857c46a0607ddc7864c466
parenta4d258d53b42099f304062c58da1e39fb174c5d5
Update LanguageTrTest::testDottedAndDotlessI for PHP 7.3

PHP 7.3+ uses Unicode CaseFolding.txt for case mappings. For Turkic
languages(tr,az) the dotted i is given as a special case and we need
to implement it specifically for tr and az.

Updated the documentation and refactored the lcfirst and ucfirst methods
to use arrays containing the above mentioned special cases.

Bug: T207100
Change-Id: I317f2ca66b0adeaa79bc0f9e3dea5edfcd5e4693
(cherry picked from commit 27b424066453d59eeceda48a43d51e4915da960d)
RELEASE-NOTES-1.31
languages/classes/LanguageTr.php