diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-01-18 09:01:56 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-01-18 09:01:56 +0100 |
commit | 504108f2f8a91e09cfe230f9732576001f24d8ef (patch) | |
tree | b60256c00b360014507c1029bc5c35b325914182 /0009-Fix-intl-reference-for-PHP-5.5.patch | |
parent | e37704c6fd5911d361a19c9723702726bc752f77 (diff) |
php-bartlett-PHP-CompatInfo: 2.12.0 + PHP 5.5 referecnes
Diffstat (limited to '0009-Fix-intl-reference-for-PHP-5.5.patch')
-rw-r--r-- | 0009-Fix-intl-reference-for-PHP-5.5.patch | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/0009-Fix-intl-reference-for-PHP-5.5.patch b/0009-Fix-intl-reference-for-PHP-5.5.patch new file mode 100644 index 0000000..5701312 --- /dev/null +++ b/0009-Fix-intl-reference-for-PHP-5.5.patch @@ -0,0 +1,131 @@ +From 774226ac3c8cbc6938fa834b4c5fbf4f9681cabe Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Sun, 2 Dec 2012 07:51:58 +0100 +Subject: [PATCH 09/17] Fix intl reference for PHP 5.5 + +--- + PHP/CompatInfo/Reference/intl.php | 94 +++++++++++++++++++++++++++++++++++++++ + 1 file changed, 94 insertions(+) + +diff --git a/PHP/CompatInfo/Reference/intl.php b/PHP/CompatInfo/Reference/intl.php +index dcc7aad..68eadcb 100644 +--- a/PHP/CompatInfo/Reference/intl.php ++++ b/PHP/CompatInfo/Reference/intl.php +@@ -99,6 +99,7 @@ class PHP_CompatInfo_Reference_Intl + 'MessageFormatter' => array('5.2.0', ''), + 'Normalizer' => array('5.2.0', ''), + 'NumberFormatter' => array('5.2.0', ''), ++ 'IntlException' => array('5.2.0', ''), + ); + $this->applyFilter($release, $items, $classes); + +@@ -121,6 +122,19 @@ class PHP_CompatInfo_Reference_Intl + ); + $this->applyFilter($release, $items, $classes); + ++ $release = '5.5.0'; // soon ++ $items = array( ++ 'IntlBreakIterator' => array('5.5.0-dev', ''), ++ 'IntlCalendar' => array('5.5.0-dev', ''), ++ 'IntlCodePointBreakIterator' => array('5.5.0-dev', ''), ++ 'IntlGregorianCalendar' => array('5.5.0-dev', ''), ++ 'IntlIterator' => array('5.5.0-dev', ''), ++ 'IntlPartsIterator' => array('5.5.0-dev', ''), ++ 'IntlRuleBasedBreakIterator' => array('5.5.0-dev', ''), ++ 'IntlTimeZone' => array('5.5.0-dev', ''), ++ ); ++ $this->applyFilter($release, $items, $classes); ++ + return $classes; + } + +@@ -289,6 +303,86 @@ class PHP_CompatInfo_Reference_Intl + ); + $this->applyFilter($release, $items, $functions); + ++ $release = '5.5.0'; // soon ++ $items = array( ++ 'datefmt_format_object' => array('5.5.0-dev', ''), ++ 'datefmt_get_calendar_object' => array('5.5.0-dev', ''), ++ 'datefmt_get_timezone' => array('5.5.0-dev', ''), ++ 'datefmt_set_timezone' => array('5.5.0-dev', ''), ++ ++ 'intlgregcal_create_instance' => array('5.5.0-dev', ''), ++ 'intlgregcal_set_gregorian_change' => array('5.5.0-dev', ''), ++ 'intlgregcal_get_gregorian_change' => array('5.5.0-dev', ''), ++ 'intlgregcal_is_leap_year' => array('5.5.0-dev', ''), ++ ++ 'intlcal_add' => array('5.5.0-dev', ''), ++ 'intlcal_after' => array('5.5.0-dev', ''), ++ 'intlcal_before' => array('5.5.0-dev', ''), ++ 'intlcal_clear' => array('5.5.0-dev', ''), ++ 'intlcal_create_instance' => array('5.5.0-dev', ''), ++ 'intlcal_equals' => array('5.5.0-dev', ''), ++ 'intlcal_field_difference' => array('5.5.0-dev', ''), ++ 'intlcal_from_date_time' => array('5.5.0-dev', ''), ++ 'intlcal_get' => array('5.5.0-dev', ''), ++ 'intlcal_get_actual_maximum' => array('5.5.0-dev', ''), ++ 'intlcal_get_actual_minimum' => array('5.5.0-dev', ''), ++ 'intlcal_get_available_locales' => array('5.5.0-dev', ''), ++ 'intlcal_get_day_of_week_type' => array('5.5.0-dev', ''), ++ 'intlcal_get_error_code' => array('5.5.0-dev', ''), ++ 'intlcal_get_error_message' => array('5.5.0-dev', ''), ++ 'intlcal_get_first_day_of_week' => array('5.5.0-dev', ''), ++ 'intlcal_get_greatest_minimum' => array('5.5.0-dev', ''), ++ 'intlcal_get_keyword_values_for_locale' ++ => array('5.5.0-dev', ''), ++ 'intlcal_get_least_maximum' => array('5.5.0-dev', ''), ++ 'intlcal_get_locale' => array('5.5.0-dev', ''), ++ 'intlcal_get_maximum' => array('5.5.0-dev', ''), ++ 'intlcal_get_minimal_days_in_first_week' ++ => array('5.5.0-dev', ''), ++ 'intlcal_get_minimum' => array('5.5.0-dev', ''), ++ 'intlcal_get_now' => array('5.5.0-dev', ''), ++ 'intlcal_get_time' => array('5.5.0-dev', ''), ++ 'intlcal_get_time_zone' => array('5.5.0-dev', ''), ++ 'intlcal_get_type' => array('5.5.0-dev', ''), ++ 'intlcal_get_weekend_transition' => array('5.5.0-dev', ''), ++ 'intlcal_in_daylight_time' => array('5.5.0-dev', ''), ++ 'intlcal_is_equivalent_to' => array('5.5.0-dev', ''), ++ 'intlcal_is_lenient' => array('5.5.0-dev', ''), ++ 'intlcal_is_set' => array('5.5.0-dev', ''), ++ 'intlcal_is_weekend' => array('5.5.0-dev', ''), ++ 'intlcal_roll' => array('5.5.0-dev', ''), ++ 'intlcal_set' => array('5.5.0-dev', ''), ++ 'intlcal_set_first_day_of_week' => array('5.5.0-dev', ''), ++ 'intlcal_set_lenient' => array('5.5.0-dev', ''), ++ 'intlcal_set_time' => array('5.5.0-dev', ''), ++ 'intlcal_set_time_zone' => array('5.5.0-dev', ''), ++ 'intlcal_to_date_time' => array('5.5.0-dev', ''), ++ ++ 'intltz_count_equivalent_ids' => array('5.5.0-dev', ''), ++ 'intltz_create_default' => array('5.5.0-dev', ''), ++ 'intltz_create_enumeration' => array('5.5.0-dev', ''), ++ 'intltz_create_time_zone' => array('5.5.0-dev', ''), ++ 'intltz_create_time_zone_id_enumeration' ++ => array('5.5.0-dev', ''), ++ 'intltz_from_date_time_zone' => array('5.5.0-dev', ''), ++ 'intltz_get_canonical_id' => array('5.5.0-dev', ''), ++ 'intltz_get_equivalent_id' => array('5.5.0-dev', ''), ++ 'intltz_get_gmt' => array('5.5.0-dev', ''), ++ 'intltz_get_display_name' => array('5.5.0-dev', ''), ++ 'intltz_get_dst_savings' => array('5.5.0-dev', ''), ++ 'intltz_get_error_code' => array('5.5.0-dev', ''), ++ 'intltz_get_error_message' => array('5.5.0-dev', ''), ++ 'intltz_get_id' => array('5.5.0-dev', ''), ++ 'intltz_get_offset' => array('5.5.0-dev', ''), ++ 'intltz_get_raw_offset' => array('5.5.0-dev', ''), ++ 'intltz_get_region' => array('5.5.0-dev', ''), ++ 'intltz_get_tz_data_version' => array('5.5.0-dev', ''), ++ 'intltz_has_same_rules' => array('5.5.0-dev', ''), ++ 'intltz_to_date_time_zone' => array('5.5.0-dev', ''), ++ 'intltz_use_daylight_time' => array('5.5.0-dev', ''), ++ ); ++ $this->applyFilter($release, $items, $functions); ++ + return $functions; + } + +-- +1.7.11.7 + |