aboutsummaryrefslogtreecommitdiffstats
path: root/languages/classes/LanguageTyv.php
diff options
context:
space:
mode:
authorKunal Mehta <legoktm@member.fsf.org>2016-02-17 01:09:32 -0800
committerKunal Mehta <legoktm@member.fsf.org>2016-02-17 01:33:00 -0800
commit6e9b4f0e9ce4ccd6089c18b205065ef7fa077484 (patch)
tree58645fbce5c12d01b0d0fa87e338d4745e08920d /languages/classes/LanguageTyv.php
parent2fd379fa95f223c6b3f3c8eff6de068eca9e1a1a (diff)
downloadmediawikicore-6e9b4f0e9ce4ccd6089c18b205065ef7fa077484.tar.gz
mediawikicore-6e9b4f0e9ce4ccd6089c18b205065ef7fa077484.zip
Convert all array() syntax to []
Per wikitech-l consensus: https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html Notes: * Disabled CallTimePassByReference due to false positives (T127163) Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
Diffstat (limited to 'languages/classes/LanguageTyv.php')
-rw-r--r--languages/classes/LanguageTyv.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/languages/classes/LanguageTyv.php b/languages/classes/LanguageTyv.php
index a2a8831b6442..437651c579ed 100644
--- a/languages/classes/LanguageTyv.php
+++ b/languages/classes/LanguageTyv.php
@@ -44,16 +44,16 @@ class LanguageTyv extends Language {
}
// Set up some constants...
- $allVowels = array( "е", "и", "э", "ө", "ү", "а", "ё", "о", "у", "ы", "ю", "я" );
- $frontVowels = array( "е", "и", "э", "ө", "ү" );
- $backVowels = array( "а", "ё", "о", "у", "ы", "ю", "я" );
- $unroundFrontVowels = array( "е", "и", "э" );
- $roundFrontVowels = array( "ө", "ү" );
- $unroundBackVowels = array( "а", "ы", "я" );
- $roundBackVowels = array( "ё", "о", "у", "ю" );
- $unvoicedPhonemes = array( "т", "п", "с", "ш", "к", "ч", "х" );
- $directiveUnvoicedStems = array( "т", "п", "с", "ш", "к", "ч", "х", "л", "м", "н", "ң" );
- $directiveVoicedStems = array( "д", "б", "з", "ж", "г", "р", "й" );
+ $allVowels = [ "е", "и", "э", "ө", "ү", "а", "ё", "о", "у", "ы", "ю", "я" ];
+ $frontVowels = [ "е", "и", "э", "ө", "ү" ];
+ $backVowels = [ "а", "ё", "о", "у", "ы", "ю", "я" ];
+ $unroundFrontVowels = [ "е", "и", "э" ];
+ $roundFrontVowels = [ "ө", "ү" ];
+ $unroundBackVowels = [ "а", "ы", "я" ];
+ $roundBackVowels = [ "ё", "о", "у", "ю" ];
+ $unvoicedPhonemes = [ "т", "п", "с", "ш", "к", "ч", "х" ];
+ $directiveUnvoicedStems = [ "т", "п", "с", "ш", "к", "ч", "х", "л", "м", "н", "ң" ];
+ $directiveVoicedStems = [ "д", "б", "з", "ж", "г", "р", "й" ];
// Put the word in a form we can play with since we're using UTF-8
preg_match_all( '/./us', $word, $ar );