<?xml version="1.0"?>
<?xml-stylesheet 
 href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/4097/bug">
    <title>PEAR Bug #4097</title>
    <link>http://pear.php.net/bugs/4097</link>
    <description>[Closed] Wrong logging in PEAR_Command_Test</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bugs/4097"/>
      <rdf:li rdf:resource="http://pear.php.net/bugs/4097/2005-04-15+00%3A40%3A49#2005-04-15+00%3A40%3A49"/>
     </rdf:Seq>
    </items>
  </channel>
    <item rdf:about="http://pear.php.net/bugs/4097">
      <title>yunosh</title>
      <link>http://pear.php.net/bugs/4097</link>
      <description><![CDATA[<pre>PEAR Bug
Reported by yunosh
2005-04-07T17:00:03-00:00
PHP: Irrelevant OS:  Package Version: 

Description:
------------
PEAR_Command_Test::doRunTests() seems to be called statically if invoking &quot;pear run-tests&quot;. In case of an erreanous test file I get the fatal error:
Call to undefined function:  log() in /usr/share/php/PEAR/Command/Test.php on line 195

This patch fixes the error:

--- Test.php~   2005-04-07 18:51:35.856457144 +0200
+++ Test.php    2005-04-07 18:55:35.860970912 +0200
@@ -192,7 +192,7 @@
             $result = $run-&gt;run($t, $ini_settings);
             PEAR::staticPopErrorHandling();
             if (PEAR::isError($result)) {
-                $this-&gt;log(0, $result-&gt;getMessage());
+                $log-&gt;log(0, $result-&gt;getMessage());
                 continue;
             }
             if (OS_WINDOWS) {</pre>]]></description>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by yunosh
2005-04-07T17:00:03-00:00
PHP: Irrelevant OS:  Package Version: 

Description:
------------
PEAR_Command_Test::doRunTests() seems to be called statically if invoking &quot;pear run-tests&quot;. In case of an erreanous test file I get the fatal error:
Call to undefined function:  log() in /usr/share/php/PEAR/Command/Test.php on line 195

This patch fixes the error:

--- Test.php~   2005-04-07 18:51:35.856457144 +0200
+++ Test.php    2005-04-07 18:55:35.860970912 +0200
@@ -192,7 +192,7 @@
             $result = $run-&gt;run($t, $ini_settings);
             PEAR::staticPopErrorHandling();
             if (PEAR::isError($result)) {
-                $this-&gt;log(0, $result-&gt;getMessage());
+                $log-&gt;log(0, $result-&gt;getMessage());
                 continue;
             }
             if (OS_WINDOWS) {</pre>]]></content:encoded>
      <dc:date>2005-04-07T17:00:03-00:00</dc:date>
    </item>
    <item rdf:about="http://pear.php.net/bugs/4097/2005-04-15+00%3A40%3A49#2005-04-15+00%3A40%3A49">
      <title>cellog [2005-04-15 04:40]</title>
      <link>http://pear.php.net/bugs/4097#1113540049</link>
      <description><![CDATA[<pre>This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PEAR better.</pre>]]></description>
      <content:encoded><![CDATA[<pre>This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PEAR better.</pre>]]></content:encoded>
      <dc:date>2005-04-15T04:40:49-00:00</dc:date>
    </item>
</rdf:RDF>