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; }
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! ;-)