[PHP-DEV] Coding standards (layout)

2001-07-29 Thread Zeev Suraski
Guys, Please follow the coding standards as they appear in the CODING_STANDARDS with code you commit to the PHP repository. Stuff I noticed while going over large portions of code in the last few days: - open-curly-braces should not appear on the same line as a function declaration, but on

Re: [PHP-DEV] Coding standards (layout)

2001-07-29 Thread Zeev Suraski
For those of you who aren't sure where the heck those space-after-comma and the other rules are coming from, that's the KR coding standard, which is the coding standard for the php4 repository. One other rule that's really not followed is [3]: [3] Be generous with whitespace and braces.