Kevin Waterson wrote:
This one time, at band camp, Mehdi Achour <[EMAIL PROTECTED]> wrote:


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.

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 {
    // 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 refsect1

That's fine now (but check the indentation)

Mehdi

Reply via email to