summaryrefslogtreecommitdiffstats
path: root/0009-Fix-intl-reference-for-PHP-5.5.patch
blob: 57013121c5f1968decde25c9b600f5eebab6aa02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
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