Re: Re: My first doc
| From: | Mehdi Achour | Date: | Sun, 07 Jan 2007 13:57:48 +0000 |
| Subject: | Re: Re: My first doc | ||
| References: | 1 2 3 4 5 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969374702@lists.php.net to get a copy of this message | ||
Kevin Waterson wrote:
This one time, at band camp, Mehdi Achour <didou@php.net> wrote:When commiting to the phpdoc module, you need to stick to the documentation guidelines :) In your case, the fix is easy. Just copy paste this: try {Seems like you didn't take care of indentation and coding standards. You also want to remove the return value from the "errors" refsect1. At this stage, do you want me to send you the updated file so that can learn by comparison?After consulting other devs it was decided the pear standards are difficult for newcomers and that GNU style was easier for newcomers to understand. Unless of course there is a hard and fast rule that all manual entries indent in the K&R style.
// read the image file
$MagickWand->readImage($filename);
// display the imageformat
echo $MagickWand->GetImageFormat();
} catch(MagickWandException $e) {
echo $e->getMessage();} You also still haven't change your indentation.. and it is as important as coding standards.
Updated the error refsect1That's fine now (but check the indentation) Mehdi