symfony/symfony-docs — pull request #1393 by WouterJ (2012-05-23 15:05:43+00:00)
Title: [Contributing] Improved CS

I have done some code improvements to the coding standards:

- Added camelCase, StudlyCase and underscores in the example (as requested in [this PR comment](https://github.com/symfony/symfony-docs/pull/1126#issuecomment-5397514))
- Added example with `if ... else` statements, because it is not clear if the `else` needs to be on a new line or not
- Removed the visibility rules, because it is in the PSR-2 rules ([4.2](https://github.com/pmjones/fig-standards/blob/psr-1-style-guide/proposed/PSR-2-advanced.md#42-properties) and [4.3](https://github.com/pmjones/fig-standards/blob/psr-1-style-guide/proposed/PSR-2-advanced.md#43-methods))