diff options
Diffstat (limited to '0028-fix-reference-for-datetimeinterface.patch')
-rw-r--r-- | 0028-fix-reference-for-datetimeinterface.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/0028-fix-reference-for-datetimeinterface.patch b/0028-fix-reference-for-datetimeinterface.patch deleted file mode 100644 index 5d4ec07..0000000 --- a/0028-fix-reference-for-datetimeinterface.patch +++ /dev/null @@ -1,49 +0,0 @@ -From c85563b06140afa310a8208a5695f9ad2d3a312b Mon Sep 17 00:00:00 2001 -From: Remi Collet <fedora@famillecollet.com> -Date: Thu, 4 Apr 2013 11:13:05 +0200 -Subject: [PATCH] fix data ref for php 5.5 (DateTimeInterface) - ---- - PHP/CompatInfo/Reference/date.php | 26 ++++++++++++++++++++++++++ - 1 file changed, 26 insertions(+) - -diff --git a/PHP/CompatInfo/Reference/date.php b/PHP/CompatInfo/Reference/date.php -index 1e84586..f141613 100644 ---- a/PHP/CompatInfo/Reference/date.php -+++ b/PHP/CompatInfo/Reference/date.php -@@ -87,6 +87,32 @@ public function getClasses($extension = null, $version = null, $condition = null - } - - /** -+ * Gets informations about interfaces -+ * -+ * @param string $extension (optional) NULL for PHP version, -+ * TRUE if extension version -+ * @param string $version (optional) php or extension version -+ * @param string $condition (optional) particular relationship with $version -+ * Same operator values as used by version_compare -+ * -+ * @return array -+ */ -+ public function getInterfaces($extension = null, $version = null, $condition = null) -+ { -+ $this->setFilter(func_get_args()); -+ -+ $interfaces = array(); -+ -+ $release = '5.5.0'; // not yet -+ $items = array( -+ 'DateTimeInterface' => array('5.5.0-dev', ''), -+ ); -+ $this->applyFilter($release, $items, $interfaces); -+ -+ return $interfaces; -+ } -+ -+ /** - * Gets informations about functions - * - * @param string $extension (optional) NULL for PHP version, --- -1.8.1.5 - |