mirror of https://github.com/rectorphp/rector.git
[Doc] Add CONTRIBUTING.md (#79)
This commit is contained in:
parent
03640b20d3
commit
d8b4a92932
|
@ -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
|
||||
-
|
||||
|
|
|
@ -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
|
||||
-
|
||||
|
|
|
@ -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.
|
18
README.md
18
README.md
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue