Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Contributing: added info about code style
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsche authored and adrilo committed Feb 9, 2021
1 parent ed9322e commit 9ab0b10
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,21 @@ This will add your changes on top of what's already in upstream, minimizing merg

Make sure that all tests are passing before submitting a pull request.

### Step 8: Send the pull request
### Step 8: Fix code style

Run the following command to check the code style of your changes:

```
vendor/bin/php-cs-fixer fix --config=.php_cs.dist --verbose --diff --dry-run --diff-format=udiff
```

This will print a diff of proposed code style changes. To apply these suggestions, run the following command:

```
vendor/bin/php-cs-fixer fix --config=.php_cs.dist
```

### Step 9: Send the pull request

Send the pull request from your feature branch to us. Be sure to include a description that lets us know what work you did.

Expand Down

0 comments on commit 9ab0b10

Please sign in to comment.