... | @@ -86,7 +86,6 @@ class FooBar { |
... | @@ -86,7 +86,6 @@ class FooBar { |
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
### Structure
|
|
### Structure
|
|
* Add a single space after each comma delimiter;
|
|
* Add a single space after each comma delimiter;
|
|
|
|
|
... | @@ -139,8 +138,20 @@ class FooBar { |
... | @@ -139,8 +138,20 @@ class FooBar { |
|
* The @package and @subpackage annotations are not used.
|
|
* The @package and @subpackage annotations are not used.
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
## [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.
|
|
|
|
|
|
|
|
|
|
---
|
|
---
|
... | | ... | |