-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CONTRIBUTING.md File #854
CONTRIBUTING.md File #854
Conversation
|
A few thoughts. For issues:
For pull requests:
|
@im-denisenko I updated the file. I left out the parts with squashing commits and rebase. This can be dangerous especially for unexperienced users. So the experienced ones are going to do this anyways and know when to do it, but the less experience are going to "save" route. I added all the other points. I suggest we merge this to have a first version available and update it from there. I would like to add some more "examples" on how to setup the project and run the tests. @im-denisenko What is the current command you run to "cleanup" the code styles? |
@ruflin Looks good. I'm not sure how it looks for native speaker, but i'm not one who could fix this :) For cs cleanup I use one of these: vendor/bin/php-cs-fixer fix directory/filename.php
vendor/bin/php-cs-fixer fix directory/
vendor/bin/php-cs-fixer fix |
I tested it briefly and it looks like we used |
It was symfony level with 3 additional fixers, as defined here. |
Right, forgot about this one. It picks the config if no dir is defined as the dir is also in the config file. It removes all package comments and adds a dot at the end of all comments. This leads to changing almost all files. So either we haven't run it for a really long time or something in the "default" symfony config changed (which I assume is the case). |
More details on how to contribute and guidelines for [pull requests](http://elastica.io/contribute/pull-request.html) can be found [here](http://elastica.io/contribute/). | ||
|
||
See [Coding guidelines](http://elastica.io/contribute/coding-guidelines.html) for tips on how to do so. | ||
All changes which are made to the project are added to the [CHANGELOG.md](https://github.com/ruflin/Elastica/blob/master/CHANGELOG.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better:
"All changes must be documented in the CHANGELOG."
@webdevsHub Thanks for the notes. I made the changes to the file. |
This pull request is to discuss content of the CONTRIBUTING.md file. The first contributions are only some nodes.
FYI: @im-denisenko @webdevsHub