[Doc] Add CONTRIBUTING.md (#79)

This commit is contained in:
Abdul Malik Ikhsan 2021-05-20 06:34:39 +07:00 committed by GitHub
parent 03640b20d3
commit d8b4a92932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 17 deletions

View File

@ -58,6 +58,7 @@ jobs:
- run: |
cp -R build/target-repository/. rector-prefixed-downgraded
cp -R templates rector-prefixed-downgraded/
cp CONTRIBUTING.md rector-prefixed-downgraded/
# 6. clone remote repository, so we can push it
-

View File

@ -82,6 +82,7 @@ jobs:
- run: |
cp -R build/target-repository-php70/. rector-prefixed-downgraded-php70
cp -R templates rector-prefixed-downgraded-php70/
cp CONTRIBUTING.md rector-prefixed-downgraded-php70/
# 6. clone remote repository, so we can push it
-

21
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,21 @@
## How to Contribute
Contributions here are more than welcomed! You can contribute to [rector-src](https://github.com/rectorphp/rector-src) repository.
There 3 rules will highly increase changes to get your PR merged:
- **1 feature per pull-request**
- **new features need tests**
- CI must pass... you can mimic it locally by running
```bash
composer complete-check
```
- Do you need to fix coding standards?
```bash
composer fix-cs
```
We would be happy to accept PRs that follow these guidelines.

View File

@ -15,23 +15,7 @@ Code of this repository requires PHP 8. For `rector/rector` package user the bui
## How to Contribute
Contributions here are more than welcomed! There 3 rules will highly increase changes to get your PR merged:
- **1 feature per pull-request**
- **new features need tests**
- CI must pass... you can mimic it locally by running
```bash
composer complete-check
```
- Do you need to fix coding standards?
```bash
composer fix-cs
```
We would be happy to accept PRs that follow these guidelines.
Please read [contributing guideline](/CONTRIBUTING.md) for how to contribute to rector.
## Code of Conduct