Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.53 KB

CONTRIBUTING.md

File metadata and controls

31 lines (23 loc) · 1.53 KB

Contributing

PHPUnit-Mink is an open source, community-driven project. If you'd like to contribute, feel free to do this, but remember to follow these few simple rules:

Submitting an issues

  • A reproducible example is required for every bug report, otherwise it will most probably be closed without warning.
  • If you are going to make a big, substantial change, let's discuss it first.

Working with Pull Requests

  1. Create your feature addition or a bug fix branch based on master branch in your repository's fork.
  2. Make necessary changes, but don't mix code reformatting with code changes on topic.
  3. Add tests for those changes (please look into tests/ folder for some examples). This is important so we don't break it in a future version unintentionally.
  4. Commit your code.
  5. Squash your commits by topic to preserve a clean and readable log.
  6. Create Pull Request.

Running tests

Make sure that you don't break anything with your changes by running:

$> phpunit

Checking coding standard violations

This library uses Coding Standard to ensure consistent formatting across the code base. Make sure you haven't introduced any Coding Standard violations by running following command in the root folder of the library:

$> phpcs --standard="vendor/aik099/coding-standard/CodingStandard" library tests

or by making your IDE (instructions for PhpStorm) to check them automatically.