[Phpmyadmin-devel] Coding standards - Line length

Madhura Jayaratne madhura.cj at gmail.com
Fri May 6 08:37:54 CEST 2011


Hi all,

Although we have chosen PEAR coding standards[1] as the coding standard for
phpMyAdmin[2], there are quite a number of occasions where the standard is
being violated, especially the line length recommendation. For example in
display_tbl.lib.php I can see lines with 282 character while
the recommended limit is 75-85[3].

However, I feel that this limit is bit too restrictive given that some lines
have indentation of about 32 spaces. So I think it's better to set the limit
bit leniently (at least for those files) and adhering to it rather than
ignoring the line length limit altogether. Any thoughts?

With things clarified all the GSoCers would be able to produce quality code
during this summer.

-- 
Thanks and Regards,

Madhura Jayaratne

[1] http://pear.php.net/manual/en/standards.php
[2] http://wiki.phpmyadmin.net/pma/Coding_guidelines
[3] http://pear.php.net/manual/en/standards.indenting.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110506/0122967e/attachment.html>


More information about the Developers mailing list