summaryrefslogtreecommitdiff
path: root/ext/intl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl')
-rw-r--r--ext/intl/tests/calendar_getXMaximum_basic.phpt2
-rw-r--r--ext/intl/tests/calendar_getXMinimum_basic.phpt2
-rw-r--r--ext/intl/tests/collator_create4.phpt2
-rw-r--r--ext/intl/tests/idn_uts46_basic.phpt2
-rw-r--r--ext/intl/tests/locale_accept.phpt2
-rw-r--r--ext/intl/tests/locale_compose_locale.phpt10
-rw-r--r--ext/intl/tests/locale_filter_matches2.phpt2
-rw-r--r--ext/intl/tests/locale_filter_matches3.phpt4
-rw-r--r--ext/intl/tests/locale_get_all_variants.phpt2
-rw-r--r--ext/intl/tests/locale_get_keywords2.phpt4
-rw-r--r--ext/intl/tests/locale_lookup.phpt2
-rw-r--r--ext/intl/tests/locale_lookup_variant2.phpt2
-rw-r--r--ext/intl/tests/locale_set_default.phpt4
-rw-r--r--ext/intl/tests/normalizer_normalize.phpt4
-rw-r--r--ext/intl/tests/normalizer_normalize_kc_cf.phpt4
-rw-r--r--ext/intl/tests/symfony_format_type_int32_intl1.phpt4
16 files changed, 26 insertions, 26 deletions
diff --git a/ext/intl/tests/calendar_getXMaximum_basic.phpt b/ext/intl/tests/calendar_getXMaximum_basic.phpt
index 9b840212d9..2e6d1a3fa9 100644
--- a/ext/intl/tests/calendar_getXMaximum_basic.phpt
+++ b/ext/intl/tests/calendar_getXMaximum_basic.phpt
@@ -17,7 +17,7 @@ var_dump(
$intlcal->getLeastMaximum(IntlCalendar::FIELD_DAY_OF_MONTH),
intlcal_get_least_maximum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
$intlcal->getActualMaximum(IntlCalendar::FIELD_DAY_OF_MONTH),
- intlcal_get_actual_maximum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
+ intlcal_get_actual_maximum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
$intlcal->getMaximum(IntlCalendar::FIELD_DAY_OF_MONTH),
intlcal_get_maximum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH)
);
diff --git a/ext/intl/tests/calendar_getXMinimum_basic.phpt b/ext/intl/tests/calendar_getXMinimum_basic.phpt
index 83fd163809..ff0518d882 100644
--- a/ext/intl/tests/calendar_getXMinimum_basic.phpt
+++ b/ext/intl/tests/calendar_getXMinimum_basic.phpt
@@ -17,7 +17,7 @@ var_dump(
$intlcal->getGreatestMinimum(IntlCalendar::FIELD_DAY_OF_MONTH),
intlcal_get_greatest_minimum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
$intlcal->getActualMinimum(IntlCalendar::FIELD_DAY_OF_MONTH),
- intlcal_get_actual_minimum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
+ intlcal_get_actual_minimum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
$intlcal->getMinimum(IntlCalendar::FIELD_DAY_OF_MONTH),
intlcal_get_minimum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH)
);
diff --git a/ext/intl/tests/collator_create4.phpt b/ext/intl/tests/collator_create4.phpt
index 0e2126eca4..509a89913b 100644
--- a/ext/intl/tests/collator_create4.phpt
+++ b/ext/intl/tests/collator_create4.phpt
@@ -1,5 +1,5 @@
--TEST--
-create() icu >= 53.1
+create() icu >= 53.1
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
<?php if (version_compare(INTL_ICU_VERSION, '54.1') < 0) die('skip for ICU >= 54.1'); ?>
diff --git a/ext/intl/tests/idn_uts46_basic.phpt b/ext/intl/tests/idn_uts46_basic.phpt
index 4cf349081b..881e8311c9 100644
--- a/ext/intl/tests/idn_uts46_basic.phpt
+++ b/ext/intl/tests/idn_uts46_basic.phpt
@@ -12,7 +12,7 @@ $utf8dn = "www.fußball.com";
$asciiNonTrans = "www.xn--fuball-cta.com";
echo "all ok, no details:", "\n";
-var_dump(idn_to_ascii($utf8dn,
+var_dump(idn_to_ascii($utf8dn,
IDNA_NONTRANSITIONAL_TO_ASCII, INTL_IDNA_VARIANT_UTS46));
echo "all ok, no details, transitional:", "\n";
diff --git a/ext/intl/tests/locale_accept.phpt b/ext/intl/tests/locale_accept.phpt
index cf1dc6e675..a2834d8ade 100644
--- a/ext/intl/tests/locale_accept.phpt
+++ b/ext/intl/tests/locale_accept.phpt
@@ -6,7 +6,7 @@ locale_accept_from_http
<?php
/*
- * Try parsing different Locales
+ * Try parsing different Locales
* with Procedural and Object methods.
*/
diff --git a/ext/intl/tests/locale_compose_locale.phpt b/ext/intl/tests/locale_compose_locale.phpt
index 85b7257708..5eef05b3e6 100644
--- a/ext/intl/tests/locale_compose_locale.phpt
+++ b/ext/intl/tests/locale_compose_locale.phpt
@@ -6,7 +6,7 @@ locale_compose_locale()
<?php
/*
- * Try parsing different Locales
+ * Try parsing different Locales
* with Procedural and Object methods.
*/
@@ -15,7 +15,7 @@ function ut_main()
$loc_parts_arr1 = array(
Locale::LANG_TAG =>'sl' ,
Locale::SCRIPT_TAG =>'Latn' ,
- Locale::REGION_TAG =>'IT'
+ Locale::REGION_TAG =>'IT'
);
$loc_parts_arr2 = array(
Locale::LANG_TAG =>'de' ,
@@ -39,7 +39,7 @@ function ut_main()
Locale::SCRIPT_TAG =>'Hans' ,
Locale::REGION_TAG =>'CN',
Locale::VARIANT_TAG.'14' =>'rozaj' ,
- 'variant1'=>'nedis'
+ 'variant1'=>'nedis'
);
$loc_parts_arr7 = array(
Locale::LANG_TAG =>'en' ,
@@ -70,7 +70,7 @@ function ut_main()
Locale::SCRIPT_TAG => 15
);
$loc_parts_arr11 = array(
- Locale::LANG_TAG =>'de' ,
+ Locale::LANG_TAG =>'de' ,
Locale::REGION_TAG =>'DE',
'private0' => 13,
'variant1' => array(),
@@ -91,7 +91,7 @@ function ut_main()
'loc2' => $loc_parts_arr2 ,
'loc3' => $loc_parts_arr3 ,
'loc4' => $loc_parts_arr4 ,
- 'loc5' => $loc_parts_arr5 ,
+ 'loc5' => $loc_parts_arr5 ,
'loc6' => $loc_parts_arr6 ,
'loc7' => $loc_parts_arr7 ,
'loc8' => $loc_parts_arr8 ,
diff --git a/ext/intl/tests/locale_filter_matches2.phpt b/ext/intl/tests/locale_filter_matches2.phpt
index 156415576e..e75079deb3 100644
--- a/ext/intl/tests/locale_filter_matches2.phpt
+++ b/ext/intl/tests/locale_filter_matches2.phpt
@@ -7,7 +7,7 @@ locale_filter_matches.phpt() icu >= 4.8 && icu < 50.1.2
<?php
/*
- * Try parsing different Locales
+ * Try parsing different Locales
* with Procedural and Object methods.
*/
diff --git a/ext/intl/tests/locale_filter_matches3.phpt b/ext/intl/tests/locale_filter_matches3.phpt
index 2d27de9346..2816ba5e12 100644
--- a/ext/intl/tests/locale_filter_matches3.phpt
+++ b/ext/intl/tests/locale_filter_matches3.phpt
@@ -1,5 +1,5 @@
--TEST--
-locale_filter_matches.phpt() ICU >= 51.2
+locale_filter_matches.phpt() ICU >= 51.2
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
<?php if (version_compare(INTL_ICU_VERSION, '51.2') < 0) die('skip for ICU >= 51.2'); ?>
@@ -7,7 +7,7 @@ locale_filter_matches.phpt() ICU >= 51.2
<?php
/*
- * Try parsing different Locales
+ * Try parsing different Locales
* with Procedural and Object methods.
*/
diff --git a/ext/intl/tests/locale_get_all_variants.phpt b/ext/intl/tests/locale_get_all_variants.phpt
index 09362e13dd..8f2bcbfa39 100644
--- a/ext/intl/tests/locale_get_all_variants.phpt
+++ b/ext/intl/tests/locale_get_all_variants.phpt
@@ -6,7 +6,7 @@ locale_get_all_variants.phpt()
<?php
/*
- * Try parsing different Locales
+ * Try parsing different Locales
* with Procedural and Object methods.
*/
diff --git a/ext/intl/tests/locale_get_keywords2.phpt b/ext/intl/tests/locale_get_keywords2.phpt
index 20473beae3..23a099b4ed 100644
--- a/ext/intl/tests/locale_get_keywords2.phpt
+++ b/ext/intl/tests/locale_get_keywords2.phpt
@@ -29,7 +29,7 @@ function ut_main()
'fr',
'ja',
'i-enochian', //(example of a grandfathered tag)
-//Language subtag plus Script subtag:
+//Language subtag plus Script subtag:
'zh-Hant',
'zh-Hans',
'sr-Cyrl',
@@ -52,7 +52,7 @@ function ut_main()
//Private use subtags:
'de-CH-x-phonebk',
'az-Arab-x-AZE-derbend',
-//Extended language subtags
+//Extended language subtags
'zh-min',
'zh-min-nan-Hant-CN',
//Private use registry values
diff --git a/ext/intl/tests/locale_lookup.phpt b/ext/intl/tests/locale_lookup.phpt
index 1d52e8049f..9d4843038d 100644
--- a/ext/intl/tests/locale_lookup.phpt
+++ b/ext/intl/tests/locale_lookup.phpt
@@ -7,7 +7,7 @@ locale_lookup.phpt() icu >= 4.8 && icu < 50.1.2
<?php
/*
- * Try parsing different Locales
+ * Try parsing different Locales
* with Procedural and Object methods.
*/
diff --git a/ext/intl/tests/locale_lookup_variant2.phpt b/ext/intl/tests/locale_lookup_variant2.phpt
index c25e614205..75a5350abf 100644
--- a/ext/intl/tests/locale_lookup_variant2.phpt
+++ b/ext/intl/tests/locale_lookup_variant2.phpt
@@ -7,7 +7,7 @@ locale_lookup.phpt()
<?php
/*
- * Try parsing different Locales
+ * Try parsing different Locales
* with Procedural and Object methods.
*/
diff --git a/ext/intl/tests/locale_set_default.phpt b/ext/intl/tests/locale_set_default.phpt
index 7debf4d3de..d56c9177cd 100644
--- a/ext/intl/tests/locale_set_default.phpt
+++ b/ext/intl/tests/locale_set_default.phpt
@@ -56,7 +56,7 @@ function ut_main()
'sr-Latn-QM',
'sr-Qaaa-CS',
//Tags that use extensions (examples ONLY: extensions MUST be defined
-// by revision or update to this document or by RFC):
+// by revision or update to this document or by RFC):
'en-US-u-islamCal',
'zh-CN-a-myExt-x-private',
'en-a-myExt-b-another',
@@ -67,7 +67,7 @@ function ut_main()
);
/*
- $locales = array(
+ $locales = array(
'es'
);
*/
diff --git a/ext/intl/tests/normalizer_normalize.phpt b/ext/intl/tests/normalizer_normalize.phpt
index 8070677bf3..70a2bce912 100644
--- a/ext/intl/tests/normalizer_normalize.phpt
+++ b/ext/intl/tests/normalizer_normalize.phpt
@@ -80,8 +80,8 @@ function ut_main()
$str_hex = urlencode($str);
$str_norm_hex = urlencode($str_norm);
- $res_str .= "'$str_hex' normalized to form '{$forms_str[$form]}' is '$str_norm_hex'"
- . "\terror info: '$error_message' ($error_code)\n"
+ $res_str .= "'$str_hex' normalized to form '{$forms_str[$form]}' is '$str_norm_hex'"
+ . "\terror info: '$error_message' ($error_code)\n"
. "";
$is_norm = ut_norm_is_normalized( $str, $form );
diff --git a/ext/intl/tests/normalizer_normalize_kc_cf.phpt b/ext/intl/tests/normalizer_normalize_kc_cf.phpt
index 43b8afbfb5..246e41baa2 100644
--- a/ext/intl/tests/normalizer_normalize_kc_cf.phpt
+++ b/ext/intl/tests/normalizer_normalize_kc_cf.phpt
@@ -69,8 +69,8 @@ function ut_main()
$str_hex = urlencode($str);
$str_norm_hex = urlencode($str_norm);
- $res_str .= "'$str_hex' normalized to form '{$forms_str[$form]}' is '$str_norm_hex'"
- . "\terror info: '$error_message' ($error_code)\n"
+ $res_str .= "'$str_hex' normalized to form '{$forms_str[$form]}' is '$str_norm_hex'"
+ . "\terror info: '$error_message' ($error_code)\n"
. "";
$is_norm = ut_norm_is_normalized( $str, $form );
diff --git a/ext/intl/tests/symfony_format_type_int32_intl1.phpt b/ext/intl/tests/symfony_format_type_int32_intl1.phpt
index 2867b35690..7d892cf5b6 100644
--- a/ext/intl/tests/symfony_format_type_int32_intl1.phpt
+++ b/ext/intl/tests/symfony_format_type_int32_intl1.phpt
@@ -10,13 +10,13 @@ Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #1
// Crashes on Windows
// Windows note: the popup '...program has stopped working'(AEDebug Popup)
-// doesn't always show if you're rapidly running this test repeatedly.
+// doesn't always show if you're rapidly running this test repeatedly.
// regardless of that, the test always crashes every time.
// (it will show up the first time, or if you wait a while before running it again.)
// (the popup may also be disabled, which can be done with a registry setting.)
// you can confirm it crashed by checking the exit code OR
// the message this test prints at the very end (expected output for pass).
-//
+//
// Get Exit Code
// Linux: echo $?
// Windows: echo %ErrorLevel%