@@ -22,25 +22,25 @@ |
||
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | 24 | class SpecialCharsSk extends AbstractSpecialChars { |
25 | - /** |
|
26 | - * A list of magiscule letters. |
|
27 | - * |
|
28 | - * @return string[] |
|
29 | - */ |
|
30 | - public function upper() { |
|
31 | - return array( |
|
32 | - 'Á', 'Ä', 'Č', 'Ď', 'É', 'Ě', 'Í', 'Ĺ', 'Ľ', 'Ň', 'Ó', 'Ô', 'Ŕ', 'Ř', 'Š', 'Ť', 'Ú', 'Ů', 'Ý', 'Ž', |
|
33 | - ); |
|
34 | - } |
|
25 | + /** |
|
26 | + * A list of magiscule letters. |
|
27 | + * |
|
28 | + * @return string[] |
|
29 | + */ |
|
30 | + public function upper() { |
|
31 | + return array( |
|
32 | + 'Á', 'Ä', 'Č', 'Ď', 'É', 'Ě', 'Í', 'Ĺ', 'Ľ', 'Ň', 'Ó', 'Ô', 'Ŕ', 'Ř', 'Š', 'Ť', 'Ú', 'Ů', 'Ý', 'Ž', |
|
33 | + ); |
|
34 | + } |
|
35 | 35 | |
36 | - /** |
|
37 | - * A list of miniscule letters. |
|
38 | - * |
|
39 | - * @return string[] |
|
40 | - */ |
|
41 | - public function lower() { |
|
42 | - return array( |
|
43 | - 'á', 'ä', 'č', 'ď', 'é', 'ě', 'í', 'ĺ', 'ľ', 'ň', 'ó', 'ô', 'ŕ', 'ř', 'š', 'ť', 'ú', 'ů', 'ý', 'ž', |
|
44 | - ); |
|
45 | - } |
|
36 | + /** |
|
37 | + * A list of miniscule letters. |
|
38 | + * |
|
39 | + * @return string[] |
|
40 | + */ |
|
41 | + public function lower() { |
|
42 | + return array( |
|
43 | + 'á', 'ä', 'č', 'ď', 'é', 'ě', 'í', 'ĺ', 'ľ', 'ň', 'ó', 'ô', 'ŕ', 'ř', 'š', 'ť', 'ú', 'ů', 'ý', 'ž', |
|
44 | + ); |
|
45 | + } |
|
46 | 46 | } |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsSk extends AbstractSpecialChars { |
|
24 | +class SpecialCharsSk extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'Á', 'Ä', 'Č', 'Ď', 'É', 'Ě', 'Í', 'Ĺ', 'Ľ', 'Ň', 'Ó', 'Ô', 'Ŕ', 'Ř', 'Š', 'Ť', 'Ú', 'Ů', 'Ý', 'Ž', |
33 | 35 | ); |
@@ -38,7 +40,8 @@ discard block |
||
38 | 40 | * |
39 | 41 | * @return string[] |
40 | 42 | */ |
41 | - public function lower() { |
|
43 | + public function lower() |
|
44 | + { |
|
42 | 45 | return array( |
43 | 46 | 'á', 'ä', 'č', 'ď', 'é', 'ě', 'í', 'ĺ', 'ľ', 'ň', 'ó', 'ô', 'ŕ', 'ř', 'š', 'ť', 'ú', 'ů', 'ý', 'ž', |
44 | 47 | ); |
@@ -22,25 +22,25 @@ |
||
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | 24 | class SpecialCharsTr extends AbstractSpecialChars { |
25 | - /** |
|
26 | - * A list of magiscule letters. |
|
27 | - * |
|
28 | - * @return string[] |
|
29 | - */ |
|
30 | - public function upper() { |
|
31 | - return array( |
|
32 | - 'Â', 'Ç', 'Ğ', 'Î', 'İ', 'Ö', 'Ş', 'Û', 'Ü', |
|
33 | - ); |
|
34 | - } |
|
25 | + /** |
|
26 | + * A list of magiscule letters. |
|
27 | + * |
|
28 | + * @return string[] |
|
29 | + */ |
|
30 | + public function upper() { |
|
31 | + return array( |
|
32 | + 'Â', 'Ç', 'Ğ', 'Î', 'İ', 'Ö', 'Ş', 'Û', 'Ü', |
|
33 | + ); |
|
34 | + } |
|
35 | 35 | |
36 | - /** |
|
37 | - * A list of miniscule letters. |
|
38 | - * |
|
39 | - * @return string[] |
|
40 | - */ |
|
41 | - public function lower() { |
|
42 | - return array( |
|
43 | - 'â', 'ç', 'ğ', 'î', 'ı', 'ö', 'ş', 'û', 'ü', |
|
44 | - ); |
|
45 | - } |
|
36 | + /** |
|
37 | + * A list of miniscule letters. |
|
38 | + * |
|
39 | + * @return string[] |
|
40 | + */ |
|
41 | + public function lower() { |
|
42 | + return array( |
|
43 | + 'â', 'ç', 'ğ', 'î', 'ı', 'ö', 'ş', 'û', 'ü', |
|
44 | + ); |
|
45 | + } |
|
46 | 46 | } |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsTr extends AbstractSpecialChars { |
|
24 | +class SpecialCharsTr extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'Â', 'Ç', 'Ğ', 'Î', 'İ', 'Ö', 'Ş', 'Û', 'Ü', |
33 | 35 | ); |
@@ -38,7 +40,8 @@ discard block |
||
38 | 40 | * |
39 | 41 | * @return string[] |
40 | 42 | */ |
41 | - public function lower() { |
|
43 | + public function lower() |
|
44 | + { |
|
42 | 45 | return array( |
43 | 46 | 'â', 'ç', 'ğ', 'î', 'ı', 'ö', 'ş', 'û', 'ü', |
44 | 47 | ); |
@@ -22,25 +22,25 @@ |
||
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | 24 | class SpecialCharsAf extends AbstractSpecialChars { |
25 | - /** |
|
26 | - * A list of magiscule letters. |
|
27 | - * |
|
28 | - * @return string[] |
|
29 | - */ |
|
30 | - public function upper() { |
|
31 | - return array( |
|
32 | - 'È', 'É', 'Ê', 'Ë', 'Î', 'Ï', 'Ô', 'Û', |
|
33 | - ); |
|
34 | - } |
|
25 | + /** |
|
26 | + * A list of magiscule letters. |
|
27 | + * |
|
28 | + * @return string[] |
|
29 | + */ |
|
30 | + public function upper() { |
|
31 | + return array( |
|
32 | + 'È', 'É', 'Ê', 'Ë', 'Î', 'Ï', 'Ô', 'Û', |
|
33 | + ); |
|
34 | + } |
|
35 | 35 | |
36 | - /** |
|
37 | - * A list of miniscule letters. |
|
38 | - * |
|
39 | - * @return string[] |
|
40 | - */ |
|
41 | - public function lower() { |
|
42 | - return array( |
|
43 | - 'è', 'é', 'ê', 'ë', 'î', 'ï', 'ô', 'û', 'ʼn', |
|
44 | - ); |
|
45 | - } |
|
36 | + /** |
|
37 | + * A list of miniscule letters. |
|
38 | + * |
|
39 | + * @return string[] |
|
40 | + */ |
|
41 | + public function lower() { |
|
42 | + return array( |
|
43 | + 'è', 'é', 'ê', 'ë', 'î', 'ï', 'ô', 'û', 'ʼn', |
|
44 | + ); |
|
45 | + } |
|
46 | 46 | } |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsAf extends AbstractSpecialChars { |
|
24 | +class SpecialCharsAf extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'È', 'É', 'Ê', 'Ë', 'Î', 'Ï', 'Ô', 'Û', |
33 | 35 | ); |
@@ -38,7 +40,8 @@ discard block |
||
38 | 40 | * |
39 | 41 | * @return string[] |
40 | 42 | */ |
41 | - public function lower() { |
|
43 | + public function lower() |
|
44 | + { |
|
42 | 45 | return array( |
43 | 46 | 'è', 'é', 'ê', 'ë', 'î', 'ï', 'ô', 'û', 'ʼn', |
44 | 47 | ); |
@@ -22,27 +22,27 @@ |
||
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | 24 | class SpecialCharsEn extends AbstractSpecialChars { |
25 | - /** |
|
26 | - * A list of magiscule letters. |
|
27 | - * |
|
28 | - * @return string[] |
|
29 | - */ |
|
30 | - public function upper() { |
|
31 | - return array( |
|
32 | - 'À', 'Á', 'Â', 'Ã', 'Ä', 'Å', 'Æ', 'Ç', 'Ð', 'È', 'É', 'Ê', 'Ë', 'Ì', 'Í', 'Î', 'Ï', |
|
33 | - 'IJ', 'Ñ', 'Ò', 'Ó', 'Ô', 'Õ', 'Ö', 'Œ', 'Ø', 'Þ', 'Ù', 'Ú', 'Û', 'Ü', 'Ý', 'Ÿ', |
|
34 | - ); |
|
35 | - } |
|
25 | + /** |
|
26 | + * A list of magiscule letters. |
|
27 | + * |
|
28 | + * @return string[] |
|
29 | + */ |
|
30 | + public function upper() { |
|
31 | + return array( |
|
32 | + 'À', 'Á', 'Â', 'Ã', 'Ä', 'Å', 'Æ', 'Ç', 'Ð', 'È', 'É', 'Ê', 'Ë', 'Ì', 'Í', 'Î', 'Ï', |
|
33 | + 'IJ', 'Ñ', 'Ò', 'Ó', 'Ô', 'Õ', 'Ö', 'Œ', 'Ø', 'Þ', 'Ù', 'Ú', 'Û', 'Ü', 'Ý', 'Ÿ', |
|
34 | + ); |
|
35 | + } |
|
36 | 36 | |
37 | - /** |
|
38 | - * A list of miniscule letters. |
|
39 | - * |
|
40 | - * @return string[] |
|
41 | - */ |
|
42 | - public function lower() { |
|
43 | - return array( |
|
44 | - 'à', 'á', 'â', 'ã', 'ä', 'å', 'æ', 'ç', 'ð', 'è', 'é', 'ê', 'ë', 'ì', 'í', 'î', 'ï', |
|
45 | - 'ij', 'ñ', 'ò', 'ó', 'ô', 'õ', 'ö', 'œ', 'ø', 'þ', 'ù', 'ú', 'û', 'ü', 'ý', 'ÿ', 'ß', |
|
46 | - ); |
|
47 | - } |
|
37 | + /** |
|
38 | + * A list of miniscule letters. |
|
39 | + * |
|
40 | + * @return string[] |
|
41 | + */ |
|
42 | + public function lower() { |
|
43 | + return array( |
|
44 | + 'à', 'á', 'â', 'ã', 'ä', 'å', 'æ', 'ç', 'ð', 'è', 'é', 'ê', 'ë', 'ì', 'í', 'î', 'ï', |
|
45 | + 'ij', 'ñ', 'ò', 'ó', 'ô', 'õ', 'ö', 'œ', 'ø', 'þ', 'ù', 'ú', 'û', 'ü', 'ý', 'ÿ', 'ß', |
|
46 | + ); |
|
47 | + } |
|
48 | 48 | } |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsEn extends AbstractSpecialChars { |
|
24 | +class SpecialCharsEn extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'À', 'Á', 'Â', 'Ã', 'Ä', 'Å', 'Æ', 'Ç', 'Ð', 'È', 'É', 'Ê', 'Ë', 'Ì', 'Í', 'Î', 'Ï', |
33 | 35 | 'IJ', 'Ñ', 'Ò', 'Ó', 'Ô', 'Õ', 'Ö', 'Œ', 'Ø', 'Þ', 'Ù', 'Ú', 'Û', 'Ü', 'Ý', 'Ÿ', |
@@ -39,7 +41,8 @@ discard block |
||
39 | 41 | * |
40 | 42 | * @return string[] |
41 | 43 | */ |
42 | - public function lower() { |
|
44 | + public function lower() |
|
45 | + { |
|
43 | 46 | return array( |
44 | 47 | 'à', 'á', 'â', 'ã', 'ä', 'å', 'æ', 'ç', 'ð', 'è', 'é', 'ê', 'ë', 'ì', 'í', 'î', 'ï', |
45 | 48 | 'ij', 'ñ', 'ò', 'ó', 'ô', 'õ', 'ö', 'œ', 'ø', 'þ', 'ù', 'ú', 'û', 'ü', 'ý', 'ÿ', 'ß', |
@@ -22,25 +22,25 @@ |
||
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | 24 | class SpecialCharsSv extends AbstractSpecialChars { |
25 | - /** |
|
26 | - * A list of magiscule letters. |
|
27 | - * |
|
28 | - * @return string[] |
|
29 | - */ |
|
30 | - public function upper() { |
|
31 | - return array( |
|
32 | - 'Ä', 'Å', 'É', 'Ö', 'Á', 'Ë', 'Ü', |
|
33 | - ); |
|
34 | - } |
|
25 | + /** |
|
26 | + * A list of magiscule letters. |
|
27 | + * |
|
28 | + * @return string[] |
|
29 | + */ |
|
30 | + public function upper() { |
|
31 | + return array( |
|
32 | + 'Ä', 'Å', 'É', 'Ö', 'Á', 'Ë', 'Ü', |
|
33 | + ); |
|
34 | + } |
|
35 | 35 | |
36 | - /** |
|
37 | - * A list of miniscule letters. |
|
38 | - * |
|
39 | - * @return string[] |
|
40 | - */ |
|
41 | - public function lower() { |
|
42 | - return array( |
|
43 | - 'ä', 'å', 'é', 'ö', 'á', 'ë', 'ü', |
|
44 | - ); |
|
45 | - } |
|
36 | + /** |
|
37 | + * A list of miniscule letters. |
|
38 | + * |
|
39 | + * @return string[] |
|
40 | + */ |
|
41 | + public function lower() { |
|
42 | + return array( |
|
43 | + 'ä', 'å', 'é', 'ö', 'á', 'ë', 'ü', |
|
44 | + ); |
|
45 | + } |
|
46 | 46 | } |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsSv extends AbstractSpecialChars { |
|
24 | +class SpecialCharsSv extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'Ä', 'Å', 'É', 'Ö', 'Á', 'Ë', 'Ü', |
33 | 35 | ); |
@@ -38,7 +40,8 @@ discard block |
||
38 | 40 | * |
39 | 41 | * @return string[] |
40 | 42 | */ |
41 | - public function lower() { |
|
43 | + public function lower() |
|
44 | + { |
|
42 | 45 | return array( |
43 | 46 | 'ä', 'å', 'é', 'ö', 'á', 'ë', 'ü', |
44 | 47 | ); |
@@ -22,25 +22,25 @@ |
||
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | 24 | class SpecialCharsEs extends AbstractSpecialChars { |
25 | - /** |
|
26 | - * A list of magiscule letters. |
|
27 | - * |
|
28 | - * @return string[] |
|
29 | - */ |
|
30 | - public function upper() { |
|
31 | - return array( |
|
32 | - 'Á', 'É', 'Í', 'Ñ', 'Ó', 'Ú', 'Ü', 'Ç', |
|
33 | - ); |
|
34 | - } |
|
25 | + /** |
|
26 | + * A list of magiscule letters. |
|
27 | + * |
|
28 | + * @return string[] |
|
29 | + */ |
|
30 | + public function upper() { |
|
31 | + return array( |
|
32 | + 'Á', 'É', 'Í', 'Ñ', 'Ó', 'Ú', 'Ü', 'Ç', |
|
33 | + ); |
|
34 | + } |
|
35 | 35 | |
36 | - /** |
|
37 | - * A list of miniscule letters. |
|
38 | - * |
|
39 | - * @return string[] |
|
40 | - */ |
|
41 | - public function lower() { |
|
42 | - return array( |
|
43 | - 'á', 'é', 'í', 'ñ', 'ó', 'ú', 'ü', 'ç', |
|
44 | - ); |
|
45 | - } |
|
36 | + /** |
|
37 | + * A list of miniscule letters. |
|
38 | + * |
|
39 | + * @return string[] |
|
40 | + */ |
|
41 | + public function lower() { |
|
42 | + return array( |
|
43 | + 'á', 'é', 'í', 'ñ', 'ó', 'ú', 'ü', 'ç', |
|
44 | + ); |
|
45 | + } |
|
46 | 46 | } |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsEs extends AbstractSpecialChars { |
|
24 | +class SpecialCharsEs extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'Á', 'É', 'Í', 'Ñ', 'Ó', 'Ú', 'Ü', 'Ç', |
33 | 35 | ); |
@@ -38,7 +40,8 @@ discard block |
||
38 | 40 | * |
39 | 41 | * @return string[] |
40 | 42 | */ |
41 | - public function lower() { |
|
43 | + public function lower() |
|
44 | + { |
|
42 | 45 | return array( |
43 | 46 | 'á', 'é', 'í', 'ñ', 'ó', 'ú', 'ü', 'ç', |
44 | 47 | ); |
@@ -22,33 +22,33 @@ |
||
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | 24 | abstract class AbstractSpecialChars { |
25 | - /** |
|
26 | - * A list of magiscule letters. |
|
27 | - * |
|
28 | - * @return string[] |
|
29 | - */ |
|
30 | - public function upper() { |
|
31 | - return array(); |
|
32 | - } |
|
25 | + /** |
|
26 | + * A list of magiscule letters. |
|
27 | + * |
|
28 | + * @return string[] |
|
29 | + */ |
|
30 | + public function upper() { |
|
31 | + return array(); |
|
32 | + } |
|
33 | 33 | |
34 | - /** |
|
35 | - * A list of miniscule letters. |
|
36 | - * |
|
37 | - * @return string[] |
|
38 | - */ |
|
39 | - public function lower() { |
|
40 | - return array(); |
|
41 | - } |
|
34 | + /** |
|
35 | + * A list of miniscule letters. |
|
36 | + * |
|
37 | + * @return string[] |
|
38 | + */ |
|
39 | + public function lower() { |
|
40 | + return array(); |
|
41 | + } |
|
42 | 42 | |
43 | - /** |
|
44 | - * A list of puncutation and other symbols |
|
45 | - * |
|
46 | - * @return string[] |
|
47 | - */ |
|
48 | - public function other() { |
|
49 | - return array( |
|
50 | - '¡', '¿', '„', '“', '”', '‚', '‛', '‘', '’', '«', '»', '‹', '›', |
|
51 | - '–', 'ª', 'º', '€', '¢', '£', '¥', '©', '°', '†', '‡', '§', '¶', |
|
52 | - ); |
|
53 | - } |
|
43 | + /** |
|
44 | + * A list of puncutation and other symbols |
|
45 | + * |
|
46 | + * @return string[] |
|
47 | + */ |
|
48 | + public function other() { |
|
49 | + return array( |
|
50 | + '¡', '¿', '„', '“', '”', '‚', '‛', '‘', '’', '«', '»', '‹', '›', |
|
51 | + '–', 'ª', 'º', '€', '¢', '£', '¥', '©', '°', '†', '‡', '§', '¶', |
|
52 | + ); |
|
53 | + } |
|
54 | 54 | } |
@@ -21,13 +21,15 @@ discard block |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -abstract class AbstractSpecialChars { |
|
24 | +abstract class AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array(); |
32 | 34 | } |
33 | 35 | |
@@ -36,7 +38,8 @@ discard block |
||
36 | 38 | * |
37 | 39 | * @return string[] |
38 | 40 | */ |
39 | - public function lower() { |
|
41 | + public function lower() |
|
42 | + { |
|
40 | 43 | return array(); |
41 | 44 | } |
42 | 45 | |
@@ -45,7 +48,8 @@ discard block |
||
45 | 48 | * |
46 | 49 | * @return string[] |
47 | 50 | */ |
48 | - public function other() { |
|
51 | + public function other() |
|
52 | + { |
|
49 | 53 | return array( |
50 | 54 | '¡', '¿', '„', '“', '”', '‚', '‛', '‘', '’', '«', '»', '‹', '›', |
51 | 55 | '–', 'ª', 'º', '€', '¢', '£', '¥', '©', '°', '†', '‡', '§', '¶', |
@@ -22,15 +22,15 @@ |
||
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | 24 | class SpecialCharsAr extends AbstractSpecialChars { |
25 | - /** |
|
26 | - * A list of magiscule letters. |
|
27 | - * |
|
28 | - * @return string[] |
|
29 | - */ |
|
30 | - public function upper() { |
|
31 | - return array( |
|
32 | - 'ا', 'ب', 'ت', 'ث', 'ج', 'ح', 'خ', 'د', 'ذ', 'ر', 'ز', 'س', 'ش', 'ص', 'ض', 'ط', |
|
33 | - 'ظ', 'ع', 'غ', 'ف', 'ق', 'ك', 'ل', 'م', 'ن', 'ه', 'و', 'ي', 'آ', 'ة', 'ى', 'ی', |
|
34 | - ); |
|
35 | - } |
|
25 | + /** |
|
26 | + * A list of magiscule letters. |
|
27 | + * |
|
28 | + * @return string[] |
|
29 | + */ |
|
30 | + public function upper() { |
|
31 | + return array( |
|
32 | + 'ا', 'ب', 'ت', 'ث', 'ج', 'ح', 'خ', 'د', 'ذ', 'ر', 'ز', 'س', 'ش', 'ص', 'ض', 'ط', |
|
33 | + 'ظ', 'ع', 'غ', 'ف', 'ق', 'ك', 'ل', 'م', 'ن', 'ه', 'و', 'ي', 'آ', 'ة', 'ى', 'ی', |
|
34 | + ); |
|
35 | + } |
|
36 | 36 | } |
@@ -21,13 +21,15 @@ |
||
21 | 21 | * For each language, list the symbols, puncutation and letters with diacritics |
22 | 22 | * that may be difficult to type. |
23 | 23 | */ |
24 | -class SpecialCharsAr extends AbstractSpecialChars { |
|
24 | +class SpecialCharsAr extends AbstractSpecialChars |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * A list of magiscule letters. |
27 | 28 | * |
28 | 29 | * @return string[] |
29 | 30 | */ |
30 | - public function upper() { |
|
31 | + public function upper() |
|
32 | + { |
|
31 | 33 | return array( |
32 | 34 | 'ا', 'ب', 'ت', 'ث', 'ج', 'ح', 'خ', 'د', 'ذ', 'ر', 'ز', 'س', 'ش', 'ص', 'ض', 'ط', |
33 | 35 | 'ظ', 'ع', 'غ', 'ف', 'ق', 'ك', 'ل', 'م', 'ن', 'ه', 'و', 'ي', 'آ', 'ة', 'ى', 'ی', |
@@ -22,34 +22,34 @@ |
||
22 | 22 | * Upgrade the database schema from version 6 to version 7. |
23 | 23 | */ |
24 | 24 | class Migration6 implements MigrationInterface { |
25 | - /** |
|
26 | - * Upgrade to to the next version |
|
27 | - */ |
|
28 | - public function upgrade() { |
|
29 | - // Remove tables/columns relating to remote linking |
|
25 | + /** |
|
26 | + * Upgrade to to the next version |
|
27 | + */ |
|
28 | + public function upgrade() { |
|
29 | + // Remove tables/columns relating to remote linking |
|
30 | 30 | |
31 | - try { |
|
32 | - Database::exec( |
|
33 | - "DROP TABLE `##remotelinks`" |
|
34 | - ); |
|
35 | - } catch (PDOException $ex) { |
|
36 | - // already been done? |
|
37 | - } |
|
31 | + try { |
|
32 | + Database::exec( |
|
33 | + "DROP TABLE `##remotelinks`" |
|
34 | + ); |
|
35 | + } catch (PDOException $ex) { |
|
36 | + // already been done? |
|
37 | + } |
|
38 | 38 | |
39 | - try { |
|
40 | - Database::exec( |
|
41 | - "ALTER TABLE `##sources` DROP INDEX ix2" |
|
42 | - ); |
|
43 | - } catch (PDOException $ex) { |
|
44 | - // already been done? |
|
45 | - } |
|
39 | + try { |
|
40 | + Database::exec( |
|
41 | + "ALTER TABLE `##sources` DROP INDEX ix2" |
|
42 | + ); |
|
43 | + } catch (PDOException $ex) { |
|
44 | + // already been done? |
|
45 | + } |
|
46 | 46 | |
47 | - try { |
|
48 | - Database::exec( |
|
49 | - "ALTER TABLE `##sources` DROP COLUMN s_dbid" |
|
50 | - ); |
|
51 | - } catch (PDOException $ex) { |
|
52 | - // already been done? |
|
53 | - } |
|
54 | - } |
|
47 | + try { |
|
48 | + Database::exec( |
|
49 | + "ALTER TABLE `##sources` DROP COLUMN s_dbid" |
|
50 | + ); |
|
51 | + } catch (PDOException $ex) { |
|
52 | + // already been done? |
|
53 | + } |
|
54 | + } |
|
55 | 55 | } |
@@ -21,11 +21,13 @@ |
||
21 | 21 | /** |
22 | 22 | * Upgrade the database schema from version 6 to version 7. |
23 | 23 | */ |
24 | -class Migration6 implements MigrationInterface { |
|
24 | +class Migration6 implements MigrationInterface |
|
25 | +{ |
|
25 | 26 | /** |
26 | 27 | * Upgrade to to the next version |
27 | 28 | */ |
28 | - public function upgrade() { |
|
29 | + public function upgrade() |
|
30 | + { |
|
29 | 31 | // Remove tables/columns relating to remote linking |
30 | 32 | |
31 | 33 | try { |