Update LanguageTrTest::testDottedAndDotlessI for PHP 7.3
authorSanthosh Thottingal <santhosh.thottingal@gmail.com>
Tue, 23 Jul 2019 06:50:52 +0000 (12:20 +0530)
committerSanthosh <santhosh.thottingal@gmail.com>
Tue, 23 Jul 2019 06:58:51 +0000 (06:58 +0000)
commit27b424066453d59eeceda48a43d51e4915da960d
tree01cde022ec42ada41eceaa921d447b87aa394f3b
parent6aacbeb6e880a260e4757d807df68f8d1184c012
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
languages/classes/LanguageTr.php