[Phpmyadmin-devel] white space
Marc Delisle
Marc.Delisle at cegepsherbrooke.qc.ca
Mon Dec 12 05:36:23 CET 2005
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
More information about the Developers
mailing list