Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.99 KB

CONTRIBUTING.md

File metadata and controls

44 lines (36 loc) · 1.99 KB

Contributing to the Chargify SDK for PHP

We work hard to provide a high-quality and useful SDK for Chargify services, and we greatly value feedback and contributions from our community. Please submit your issues or pull requests through GitHub.

Pull Requests

Please follow these guidelines when submitting pull requests.

  1. The SDK is released under the Apache license. Any code you submit will be released under that license. For substantial contributions, we may ask you to sign a Contributor License Agreement.
  2. We follow all of the relevant PSR recommendations from the PHP Framework Interop Group. Please submit code that follows these standards. The PHP CS Fixer tool can be helpful for formatting your code.
  3. We maintain a high percentage of code coverage in our unit tests. If you make changes to the code, please add, update, and/or remove tests as appropriate. Please see the Unit Tests section below.
  4. If your code does not conform to the PSR standards or does not include adequate tests, we may ask you to update your pull requests before we accept them. We also reserve the right to deny any pull requests that do not align with our standards or goals.
  5. If you would like to implement support for a significant feature that is not yet available in the SDK, please talk to us beforehand to avoid any duplication of effort.
  6. Please target your pull requests to the develop branch. Pull requests will not be accepted direcly into master.

Unit Tests

From the root of the project you can run the unit tests from the command line to ensure everything is passing.

make test