2014-11-16 22:26:08 +00:00
|
|
|
|
# Contribution Guidelines
|
|
|
|
|
|
2014-11-19 22:20:37 +00:00
|
|
|
|
## Creating issues
|
|
|
|
|
|
|
|
|
|
It's dead simple, use the issue tracker. Be descriptive, remember this is a community and we're all helping each other, so be respectful.
|
|
|
|
|
|
|
|
|
|
## Coding Standards
|
|
|
|
|
|
2014-11-22 14:04:51 +00:00
|
|
|
|
Please follow existing coding standards:
|
|
|
|
|
|
|
|
|
|
- Spaces around operators and control blocks:
|
|
|
|
|
```php
|
|
|
|
|
if ($condition) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
- Braces on the same line. The exception to this rule is for long conditions.
|
|
|
|
|
- Line lengths have a soft 80 limit and hard 120 length.
|
|
|
|
|
- PHP constants should be in lowercase; `true`, `false` and `null`.
|
|
|
|
|
- Defined constants should always be in uppercase.
|