mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-02-11 11:11:01 +01:00
21 lines
598 B
Markdown
21 lines
598 B
Markdown
# Contribution Guidelines
|
||
|
||
## 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
|
||
|
||
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.
|