From f2c0453470b2eebe38a0691d2b0c176e5aa51339 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 Mar 2013 13:19:21 +0100 Subject: php-bartlett-PHP-CompatInfo: rebuild for clean-ups --- 0001-new-curl-change-in-php-5.5.patch | 75 ----------------------------------- 1 file changed, 75 deletions(-) delete mode 100644 0001-new-curl-change-in-php-5.5.patch (limited to '0001-new-curl-change-in-php-5.5.patch') diff --git a/0001-new-curl-change-in-php-5.5.patch b/0001-new-curl-change-in-php-5.5.patch deleted file mode 100644 index ab5bd0a..0000000 --- a/0001-new-curl-change-in-php-5.5.patch +++ /dev/null @@ -1,75 +0,0 @@ -From adf248bd5595224095066fe4cacddb34f4cd6100 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Mon, 4 Feb 2013 09:47:54 +0100 -Subject: [PATCH 1/6] new curl change in php 5.5 - ---- - PHP/CompatInfo/Reference/curl.php | 27 +++++++++++++++++++++++++++ - tests/Reference/CurlTest.php | 1 + - 2 files changed, 28 insertions(+) - -diff --git a/PHP/CompatInfo/Reference/curl.php b/PHP/CompatInfo/Reference/curl.php -index 19bf6f8..cbfc2f0 100644 ---- a/PHP/CompatInfo/Reference/curl.php -+++ b/PHP/CompatInfo/Reference/curl.php -@@ -83,6 +83,7 @@ class PHP_CompatInfo_Reference_Curl - 'curl_error' => array('4.0.3', ''), - 'curl_escape' => array('5.5.0-dev', ''), - 'curl_exec' => array('4.0.2', ''), -+ 'curl_file_create' => array('5.5.0-dev', ''), - 'curl_getinfo' => array('4.0.4', ''), - 'curl_init' => array('4.0.2', ''), - 'curl_multi_add_handle' => array('5.0.0', ''), -@@ -467,6 +468,7 @@ class PHP_CompatInfo_Reference_Curl - 'CURLOPT_RTSP_SESSION_ID' => array('5.5.0-dev', ''), - 'CURLOPT_RTSP_STREAM_URI' => array('5.5.0-dev', ''), - 'CURLOPT_RTSP_TRANSPORT' => array('5.5.0-dev', ''), -+ 'CURLOPT_SAFE_UPLOAD' => array('5.5.0-dev', ''), - 'CURLOPT_SHARE' => array('5.5.0-dev', ''), - 'CURLOPT_SOCKS5_GSSAPI_NEC' => array('5.5.0-dev', ''), - 'CURLOPT_SOCKS5_GSSAPI_SERVICE' => array('5.5.0-dev', ''), -@@ -577,4 +579,29 @@ class PHP_CompatInfo_Reference_Curl - return $constants; - } - -+ /** -+ * Gets informations about classes -+ * -+ * @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 getClasses($extension = null, $version = null, $condition = null) -+ { -+ $this->setFilter(func_get_args()); -+ -+ $classes = array(); -+ -+ $release = '5.5.0'; // soon -+ $items = array( -+ 'CURLFile' => array('5.5.0-dev', ''), -+ ); -+ $this->applyFilter($release, $items, $classes); -+ -+ return $classes; -+ } - } -diff --git a/tests/Reference/CurlTest.php b/tests/Reference/CurlTest.php -index 473e30b..9deb8db 100644 ---- a/tests/Reference/CurlTest.php -+++ b/tests/Reference/CurlTest.php -@@ -37,6 +37,7 @@ class PHP_CompatInfo_Reference_CurlTest - * @covers PHP_CompatInfo_Reference_Curl::getExtensions - * @covers PHP_CompatInfo_Reference_Curl::getFunctions - * @covers PHP_CompatInfo_Reference_Curl::getConstants -+ * @covers PHP_CompatInfo_Reference_Curl::getFunctions - * @return void - */ - protected function setUp() --- -1.7.11.7 - -- cgit