Welcome! If you'd like to work on php-opencloud, we appreciate your efforts. Here are a few general guidelines to follow:
-
Use the
working
branch for your pull requests. Except in the case of an emergency hotfix, we will only updatemaster
with official releases. -
All code needs to come with unit tests. If you're introducing new code, you will need to write new test cases; if you're updating existing code, you will need to make sure the methods you're updating are still completely covered.
-
Please abide by PSR code styling.
-
Explaining your pull requests is appreciated. Unless you're fixing a minor typographical error, create a description which explains your changes and, where relevant, references the existing issue you're hoping to fix.
-
Document your code!
If you submit code, please add your name and email address to the CONTRIBUTORS file.
phpunit
- Make sure your variables-order is set to "EGCRS"
- Set your PHP_OpenCloud_USERNAME and PHP_OpenCloud_API_KEY variables
- Run:
php tests/OpenCloud/Smoke/Runner.php