You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contributions are welcome. We accept pull requests on [GitHub](https://github.com/php-service-bus/service-bus/issues).
3
+
4
+
## Workflow
5
+
If you have an idea for a new feature, it's a good idea to check out our [issues](https://github.com/php-service-bus/service-bus/issues) or active [pull requests](https://github.com/php-service-bus/service-bus/pulls) first to see if the feature is already being worked on. If not, feel free to submit an issue first, asking whether the feature is beneficial to the project. This will save you from doing a lot of development work only to have your feature rejected. We don't enjoy rejecting your hard work, but some features just don't fit with the goals of the project.
6
+
7
+
When you do begin working on your feature, here are some guidelines to consider:
8
+
* Your pull request description should clearly detail the changes you have made.
9
+
* Please write tests for any new features you add.
10
+
* Please ensure that tests pass before submitting your pull request.
11
+
* Use topic/feature branches. Please do not ask us to pull from your master branch.
12
+
* Submit one feature per pull request. If you have multiple features you wish to submit, please break them up into separate pull requests.
13
+
* Send coherent history. Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting.
14
+
15
+
## Coding Guidelines
16
+
This project comes with a configuration file and an executable for php-cs-fixer (.php_cs.dist) that you can use to (re)format your source code for compliance with this project's coding guidelines:
17
+
```bash
18
+
composer cs-fix
19
+
```
20
+
For a simple check of the code standard, there is a command:
21
+
```bash
22
+
composer cs-check
23
+
```
24
+
## Static analysis
25
+
To improve the quality of the code used static analysis (via `psalm` and `phpstan`). You can start it with the command:
26
+
```bash
27
+
composer psalm && composer phpstan
28
+
```
29
+
## Running the tests
30
+
The following tests must pass before we will accept a pull request. If any of these do not pass, it will result in a complete build failure.
31
+
```bash
32
+
composer tests
33
+
```
34
+
## Communication Channels
35
+
You can find help and discussion in the following places:
0 commit comments