mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-10 05:02:23 +00:00
MD tuning
This commit is contained in:
parent
2acce0ab9b
commit
1dc80df98d
|
@ -1,19 +1,26 @@
|
|||
## How to Contribute
|
||||
# How to Contribute
|
||||
|
||||
Contributions here are more than welcomed! You can contribute to [rector-src](https://github.com/rectorphp/rector-src) repository.
|
||||
|
||||
### Preparing Local Environment
|
||||
## Preparing Local Environment
|
||||
|
||||
If you have PHP 8 and Composer installed locally you can use it straight away. You can validate your environment with:
|
||||
|
||||
```bash
|
||||
composer check-platform-reqs
|
||||
```
|
||||
|
||||
Alternatively you can use Docker runtime. All you need to do is wrap every command with `docker-compose run php`, so commands will be executed inside Docker container.
|
||||
|
||||
For example `docker-compose run php composer install` will download PHP dependencies, so you can start using all scripts and work with the code.
|
||||
For example, to download PHP dependencies:
|
||||
|
||||
### Preparing Pull Request
|
||||
```bash
|
||||
docker-compose run php composer install
|
||||
```
|
||||
|
||||
Now you can start using all scripts and work with the code.
|
||||
|
||||
## Preparing Pull Request
|
||||
|
||||
There 3 rules will highly increase chance to get your PR merged:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user