Skip to content

Commit

Permalink
Update testing commands and linting instructions
Browse files Browse the repository at this point in the history
Streamlined the test running instructions and corrected linting commands in the CONTRIBUTING.md. Fixed a typo in the coding standards section and ensured consistent capitalization for GitHub references.

Signed-off-by: mesilov <[email protected]>
  • Loading branch information
mesilov committed Aug 27, 2024
1 parent 0744b27 commit 47b4071
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
1. Fork the repo
2. Clone the repo to local
3. Install dependencies: `composer update` (this assumes you have 'composer' aliased to wherever your composer.phar lives)
4. Run the tests. We only take pull requests with passing tests, and it's great to know that you have a clean slate:
`composer phpstan-analyse`
`composer phpunit-run-unit-tests`
`composer phpunit-run-integration-tests`
4. Run the tests. We only take pull requests with passing tests, and it's great to know that you have a clean slate.

## Adding new features

Expand All @@ -19,10 +16,12 @@ New features that does not have any BC Breaks are going to be added in next mino

## Codding standards

In order to fix codding standards please exeecute:
In order to fix codding standards please execute:

```shell
composer phpstan-analyse
make lint-phpstan
make lint-rector
make lint-rector-fix
```

## Patches and bugfixes
Expand All @@ -36,4 +35,4 @@ composer phpstan-analyse
1. Make the changes/additions to the code, committing often and making clear what you've done
2. Make sure you write tests for your code, located in the folder structure
3. Run your tests (often and while coding)
4. Create Pull Request on github to against proper branch
4. Create Pull Request on GitHub to against proper branch

0 comments on commit 47b4071

Please sign in to comment.