... | ... | @@ -6,7 +6,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
## Shameless Copy of Symfony Standards
|
|
|
## Shameless Copy of [Symfony Coding Standards](http://symfony.com/doc/master/contributing/code/standards.html)
|
|
|
|
|
|
|
|
|
> __These standards are borrowed from the Symfony Standards. They are edited by Digitec when appropriate.__
|
... | ... | @@ -144,26 +144,10 @@ class FooBar { |
|
|
## [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Opening braces for classes MUST go on the next line, and closing braces MUST go on the next line after the body.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Opening braces for methods MUST go on the next line, and closing braces MUST go on the next line after the body.
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
###### References
|
|
|
|
|
|
|
|
|
[PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md)
|
|
|
|
|
|
[PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md)
|
|
|
|
|
|
[PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
|
|
|
- ~~Opening braces for classes MUST go on the next line, and closing braces MUST go on the next line after the body.~~
|
|
|
- ~~Opening braces for methods MUST go on the next line, and closing braces MUST go on the next line after the body.~~
|
|
|
|
|
|
[Symfony Coding Standards](http://symfony.com/doc/master/contributing/code/standards.html)
|
|
|
[PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)
|
|
|
|