engelsystem/CONTRIBUTING.md

12 lines
746 B
Markdown
Raw Normal View History

2019-12-01 15:50:31 +01:00
# Contributing
2020-01-17 14:58:42 +01:00
## Coding guide lines
2020-05-13 18:40:03 +02:00
* Make sure your code follows the [PSR-12](https://www.php-fig.org/psr/psr-12/) code style and is [.editorconfig](.editorconfig) valid.
You may use `composer run phpcs` and [Editorconfig-Checker](https://editorconfig-checker.github.io) to verify that.
2019-12-01 15:50:31 +01:00
* Use `use` statements wherever possible instead of writing the fully qualified name.
* Order the composer/npm dependencies alphabetically.
* Do not use code from the [includes](./includes) directory anywhere else.
2020-01-17 14:58:42 +01:00
* Please cover your code by unit tests. Code under `includes` does not require tests.
## Pull requests
Please create single pull requests for every feature instead of creating one big monster of pull request containing a complete rewrite.