Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Add CONTRIBUTING.md to point target development repo rector-src #79

Merged
merged 1 commit into from
May 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build_scoped_rector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
-
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_scoped_rector_php70.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
-
Expand Down
21 changes: 21 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down