First of all, each single contribution is appreciated, whether a typo fix, improved documentation, a fixed bug or a whole new feature.
If you think a feature is missing, please report it or implement it. If you report it, describe precisely what you would like to see implemented. It would be nice if you can do some search before submitting it and link the resources to your description.
If you think you have detected a bug or a doc issue, please report it (open issue) or even better fix it. If you report it, please be the more precise possible. Here a little list of required information:
- Symfony-standard fork which reproduces the bug.
- Precise description of the bug.
- Symfony version used.
- Bundle version used.
Fork the repository, clone it and create a new branch with the following commands:
$ git clone [email protected]:liip/LiipImagineBundle.git
$ git checkout -b bug-fix-description
Then, install the dependencies through Composer
$ composer install
When you're on the new branch with the dependencies, code as much as you want and when the fix is ready,
you will need to add tests and update the documentation. Everything is tested with
PHPUnit, documentation formatted with reStructuredText under the Resources/doc
directory.
To run tests, use the following command:
$ ./bin/phpunit
- Fork the repository on GitHub
- Pull requests must be sent from a new hotfix/feature branch, not from
master
. - Make your modifications, coding standard for the project is PSR-2
- Commit small logical changes, each with a descriptive commit message. Please don't mix unrelated changes in a single commit.
Please format your commit messages as follows:
Short summary of the change (up to 50 characters)
Optionally add a more extensive description of your change after a
blank line. Wrap the lines in this and the following paragraphs after
72 characters.
-
Push your changes to a topic branch in your fork of the repository.
-
Submit a pull request to the original repository. Describe your changes as short as possible, but as detailed as needed for others to get an overview of your modifications.
-
If you have reworked you patch, please squash all your commits in a single one with the following commands (here, we will assume you would like to squash 3 commits in a single one):
$ git rebase -i HEAD~3
-
If your branch conflicts with the master branch, you will need to rebase and repush it with the following commands:
$ git remote add upstream [email protected]:liip/LiipImagineBundle.git $ git pull --rebase upstream master $ git push origin bug-fix-description -f