#1 Kill some warnings and notices

open
nobody
None
5
2004-04-14
2004-04-14
No

This patch should kill some warnings and notices from
PHP when errors are set to E_ALL. One warning is a
divide by zero when creating an empty chart.

Also consider killing line 236 of 0.9.2-a since
$m_withLegend isn't set and also throws a warning
unless legends will be in the next version.

Discussion

  • David Norman

    David Norman - 2004-04-14

    Kill some warnings and notices

     
  • David Norman

    David Norman - 2004-04-14

    Logged In: YES
    user_id=14655

    Forgot to click the checkbox to tell Sourceforge I'm
    uploading a file...

     
  • David Norman

    David Norman - 2004-04-14

    Kill some warnings and notices with phpdoc

     
  • David Norman

    David Norman - 2004-04-14

    Logged In: YES
    user_id=14655

    Here's a newer patch with the class documentation placed
    inline in loose PHPDoc format according to
    http://phpdoc.org/ in addition to the warning stuff in the
    previous patch. It also converts tabs to spaces and moves
    brackets for functions to be "one true brace" according to
    PEAR coding guidelines at http://pear.php.net/.

     

Log in to post a comment.