[Pkg-php-commits] r1443 - in pear/php-testing-selenium/trunk/debian: . patches

Mark Hershberger mah-guest at alioth.debian.org
Thu Aug 26 20:30:00 UTC 2010


Author: mah-guest
Date: 2010-08-26 20:29:53 +0000 (Thu, 26 Aug 2010)
New Revision: 1443

Added:
   pear/php-testing-selenium/trunk/debian/patches/
   pear/php-testing-selenium/trunk/debian/patches/fix-fopen-warnings.patch
   pear/php-testing-selenium/trunk/debian/patches/series
Log:
add patch to hide fopen warnings

Added: pear/php-testing-selenium/trunk/debian/patches/fix-fopen-warnings.patch
===================================================================
--- pear/php-testing-selenium/trunk/debian/patches/fix-fopen-warnings.patch	                        (rev 0)
+++ pear/php-testing-selenium/trunk/debian/patches/fix-fopen-warnings.patch	2010-08-26 20:29:53 UTC (rev 1443)
@@ -0,0 +1,12 @@
+fopen emits E_WARNING that annoy.
+--- a/Testing_Selenium-0.4.3/Selenium.php
++++ b/Testing_Selenium-0.4.3/Selenium.php
+@@ -2555,7 +2555,7 @@
+             $url .= sprintf('&%s=%s', 'sessionId', $this->sessionId);
+         }
+ 
+-        if (!$handle = fopen($url, 'r')) {
++        if (!$handle = @fopen($url, 'r')) {
+             throw new Testing_Selenium_Exception('Cannot connected to Selenium RC Server');
+         }
+ 

Added: pear/php-testing-selenium/trunk/debian/patches/series
===================================================================
--- pear/php-testing-selenium/trunk/debian/patches/series	                        (rev 0)
+++ pear/php-testing-selenium/trunk/debian/patches/series	2010-08-26 20:29:53 UTC (rev 1443)
@@ -0,0 +1 @@
+fix-fopen-warnings.patch




More information about the Pkg-php-commits mailing list