PfSense PHP coding standards
jcyr last edited by
This is neither feedback nor problem report, but I'm not sure where this question might belong?
Are there any PHP coding standards for pfSense PHP scrips. I'm assuming Unix style EOLs are preferred. What about indenting? 2, 4, or eight spaces? Blank characters for indenting or tabs? Anything else?
Indent with tabs, not spaces.
http://devwiki.pfsense.org/DeveloperRules has a lot of style info. Could probably use some updating though, I see some issues with syntax on there, but they're minor things.