Skip to content

Commit bbd53de

Browse files
chore(merge): merge pull request #16 from openapi/upkeep
docs(contributing): improve contributing guide clarity and completeness
2 parents 79963af + 4b6658a commit bbd53de

File tree

1 file changed

+29
-19
lines changed

1 file changed

+29
-19
lines changed

docs/contributing.md

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,55 @@
1-
# Contributing to Openapi SDK
1+
# Contributing to Openapi PHP SDK
22

3-
Thanks for considering contributing! 🎉
4-
We welcome all kinds of contributions: bug reports, feature requests, documentation improvements, and code enhancements.
3+
Thanks for considering contributing! We welcome all kinds of contributions: bug reports, feature requests, documentation improvements, and code enhancements.
54

65
## How to Contribute
76

87
1. **Fork the repository** and clone it locally:
98
```bash
10-
git clone https://github.com/<username>/<repo>.git
9+
git clone https://github.com/openapi/openapi-php-sdk.git
1110
```
1211

13-
2. **Create a branch** for your feature or fix:
12+
2. **Install dependencies:**
13+
```bash
14+
composer install
15+
```
16+
17+
3. **Create a branch** for your feature or fix:
1418
```bash
1519
git checkout -b feature/your-feature-name
1620
```
17-
18-
3. **Make your changes** and commit them:
21+
22+
4. **Make your changes** and run the tests:
23+
```bash
24+
./vendor/bin/phpunit tests/
25+
```
26+
27+
5. **Commit your changes:**
1928
```bash
2029
git commit -m "Add some feature"
2130
```
22-
23-
4. **Push your branch** to your fork:
31+
32+
6. **Push your branch** to your fork:
2433
```bash
2534
git push origin feature/your-feature-name
2635
```
27-
28-
5. **Open a Pull Request** describing your changes.
36+
37+
7. **Open a Pull Request** describing your changes.
2938

3039
## Guidelines
3140

32-
* Follow the existing **Php coding style**.
33-
* Include **tests** for new features or bug fixes when applicable.
34-
* Keep **commit messages clear and concise**.
35-
* Update **documentation** as needed for your changes.
41+
- Follow the existing **PHP coding style** (PHP 8.0+).
42+
- Include **tests** for new features or bug fixes when applicable.
43+
- Keep **commit messages clear and concise**.
44+
- Write all code, comments, and documentation in **English**.
45+
- Update **documentation** as needed for your changes.
3646

3747
## Reporting Issues
3848

3949
To report bugs or request features, please **open an issue** on GitHub including:
4050

41-
* Clear description of the problem or feature.
42-
* Steps to reproduce (if applicable).
43-
* Relevant logs or screenshots.
51+
- A clear description of the problem or feature.
52+
- Steps to reproduce (if applicable).
53+
- Relevant logs or error output.
4454

45-
Thank you for helping improve Openapi SDK! 🚀
55+
Thank you for helping improve the OpenAPI PHP SDK!

0 commit comments

Comments
 (0)