<commit_before># Contributing

Thank you for contributing!

Before merging your pull-request here are some guidelines that you need to follow.
These guidelines exist not to annoy you, but to keep the code base clean,
unified and future proof.

## Workflow

1. Fork the project
2. Create a local development Branch for the changes.
3. Commit a change and push your local branch to your github fork.
4. Send a pull-request for your changes to `master`.

## Coding Standard

Use PSR-2:

* https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md

Use PHPMD with default ruleset:

* http://phpmd.org/rules/index.html

## Unit-Tests

Add a test for your pull-request.

You can run the unit-tests by calling `phpunit` from the root of the project.

## Travis

Your pull-request will run through [Travis CI](http://www.travis-ci.org)

If you break the tests, your code wont be merged,
so make sure that your code is working before opening up a pull-request.

## Code Review

Your pull-request will be under code review.
So be sure that your code is (nearly) [SOLID](http://williamdurand.fr/2013/07/30/from-stupid-to-solid-code/).<commit_msg>change CONTRIBUTING.md<commit_after># Contributing

Thank you for contributing!

Before merging your pull-request here are some guidelines that you need to follow.
These guidelines exist not to annoy you, but to keep the code base clean,
unified and future proof.

## Workflow

1. Fork the project
2. Create a local development Branch for the changes.
3. Commit a change and push your local branch to your github fork.
4. Send a pull-request for your changes to `master`.

## Coding Standard

Use PSR-2:

* https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md

Use PHPMD with default ruleset:

* http://phpmd.org/rules/index.html

## Unit-Tests

Add a test for your pull-request.

You can run the unit-tests by calling `phpunit` from the root of the project.

## Travis

Your pull-request will run through [Travis CI](http://www.travis-ci.org)

If you break the tests, your code wont be merged,
so make sure that your code is working before opening up a pull-request.

## Code Review

Your pull-request will be under code review.
So be sure that your code is (nearly) [SOLID](http://en.wikipedia.org/wiki/SOLID_(object-oriented_design)).

* http://williamdurand.fr/2013/07/30/from-stupid-to-solid-code/
{'fraction_non_alphanumeric': 0.09060681629260182, 'fraction_numerical': 0.011637572734829594, 'mean_word_length': 3.9022403258655802, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6386911', 'n_tokens_mistral': 758, 'n_tokens_neox': 737, 'n_words': 309}