summaryrefslogtreecommitdiffstats
path: root/0017-data-reference-for-php-5.5-date-immutable.patch
blob: 62654fba279997cb934896649b72ddc086cde4a4 (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
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