1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/CONTRIBUTING.md
Holger Lösken 7ddb69919e Updating contribution guideline
- Adding more details on how to contribute
2016-07-04 19:53:36 +02:00

1.7 KiB

Contributing to Invoice Ninja

Thanks for your contributions!

Submit bug reports or feature requests

Submit pull requests

  • Fork the Invoice Ninja repository
  • Create a new branch with the name #issue_number-Short-description
    • Example: #100-Add-GoogleAnalytics
  • Make your changes and commit
  • Check if your branch is still in sync with the repositorys develop branch
  • Push your branch and create a PR against the Invoice Ninja develop branch

Some rules

To make the contribution process nice and easy for anyone, please follow some rules:

  • Each contribution(bug or feature) should have an issue on Github to give a more detailed explanation.
  • Only one feature/bugfix per issue. If you want to submit more, create multiple issues.
  • Only one feature/bugfix per PR(pull request). Split more changes into multiple PRs.

Coding Style

Try to follow the PSR-2 guidlines

Example styling:

/**
 * Gets a preview of the email
 * 
 * @param TemplateService $templateService
 *
 * @return \Illuminate\Http\Response
 */
public function previewEmail(TemplateService $templateService)
{
    //
}

Translations

For helping us with translating Invoice Ninja, please use Transifex.