mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
6d995a6e03
* Add php 8 support * Ignore platform reqs * Change php constraint * Use vendor/bin/simple-phpunit directly * Remove willdurand/hateoas-bundle when testing php8 * Merge 3.x * Move to github actions * Fix the tests * Change ./phpunit permissions * Update deprecations policy
29 lines
1.0 KiB
Markdown
29 lines
1.0 KiB
Markdown
Contributing
|
|
============
|
|
|
|
First of all, **thank you** for contributing, **you are awesome**!
|
|
|
|
Here are a few rules to follow in order to ease code reviews, and discussions before
|
|
maintainers accept and merge your work.
|
|
|
|
You MUST follow the [PSR-1](http://www.php-fig.org/psr/psr-1/) and
|
|
[PSR-2](http://www.php-fig.org/psr/psr-2/). If you don't know about any of them, you
|
|
should really read the recommendations. Can't wait? Use the [PHP-CS-Fixer
|
|
tool](http://cs.sensiolabs.org/).
|
|
|
|
You MUST run the test suite (run `composer update`, and then execute `vendor/bin/simple-phpunit`).
|
|
|
|
You MUST write (or update) unit tests.
|
|
|
|
You SHOULD write documentation.
|
|
|
|
Please, write [commit messages that make
|
|
sense](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html),
|
|
and [rebase your branch](http://git-scm.com/book/en/Git-Branching-Rebasing)
|
|
before submitting your Pull Request.
|
|
|
|
Also, while creating your Pull Request on GitHub, you MUST write a description
|
|
which gives the context and/or explains why you are creating it.
|
|
|
|
Thank you!
|