summaryrefslogtreecommitdiffstats
path: root/0017-data-reference-for-php-5.5-date-immutable.patch
diff options
context:
space:
mode:
Diffstat (limited to '0017-data-reference-for-php-5.5-date-immutable.patch')
-rw-r--r--0017-data-reference-for-php-5.5-date-immutable.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/0017-data-reference-for-php-5.5-date-immutable.patch b/0017-data-reference-for-php-5.5-date-immutable.patch
new file mode 100644
index 0000000..62654fb
--- /dev/null
+++ b/0017-data-reference-for-php-5.5-date-immutable.patch
@@ -0,0 +1,34 @@
+From bbcf29cd267f86f60ce04048f7afd137a7f7a8dd Mon Sep 17 00:00:00 2001
+From: Remi Collet <fedora@famillecollet.com>
+Date: Thu, 17 Jan 2013 20:51:52 +0100
+Subject: [PATCH 17/17] data reference for php 5.5 (date immutable)
+
+---
+ PHP/CompatInfo/Reference/date.php | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/PHP/CompatInfo/Reference/date.php b/PHP/CompatInfo/Reference/date.php
+index 600789c..1e84586 100644
+--- a/PHP/CompatInfo/Reference/date.php
++++ b/PHP/CompatInfo/Reference/date.php
+@@ -79,6 +79,7 @@ class PHP_CompatInfo_Reference_Date
+ 'DatePeriod' => array('5.3.0', ''),
+ 'DateTime' => array('5.2.0', ''),
+ 'DateTimeZone' => array('5.2.0', ''),
++ 'DateTimeImmutable' => array('5.5.0-dev', ''),
+ );
+ $this->applyFilter($release, $items, $classes);
+
+@@ -110,6 +111,9 @@ class PHP_CompatInfo_Reference_Date
+ 'date_add' => array('5.3.0', ''),
+ 'date_create' => array('5.2.0', ''),
+ 'date_create_from_format' => array('5.3.0', ''),
++ 'date_create_immutable' => array('5.5.0-dev', ''),
++ 'date_create_immutable_from_format'
++ => array('5.5.0-dev', ''),
+ 'date_date_set' => array('5.2.0', ''),
+ 'date_default_timezone_get' => array('5.1.0', ''),
+ 'date_default_timezone_set' => array('5.1.0', ''),
+--
+1.7.11.7
+