[Phpmyadmin-devel] white space
Sebastian Mendel
lists at sebastianmendel.de
Mon Dec 12 05:51:02 CET 2005
Marc Delisle schrieb:
> Hi,
>
> The latest commit to common.lib.php does not respect PEAR standards,
> IMO. Too much white space.
>
> Have a look at how they recommend to format "if":
>
> if ($arg1 == 'good' || $arg1 == 'fair') {
> $this->foo = $arg1;
> return 1;
> } elseif ($arg1 == 'poor' && $arg2 > 1) {
> $this->foo = 'poor';
> return 2;
> } else {
> return false;
> }
>
> http://pear.php.net/manual/en/standards.sample.php
mhm ... grr ..
i really dont like how PEAR coding standard handles whitespaces
... i find it looks much better and is in most cases more readable with
whitespaces ... but i do as our documentation saith! ;-)
--
Sebastian Mendel
www.sebastianmendel.de
www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet
More information about the Developers
mailing list