Skip to content

Commit

Permalink
Add .github templates
Browse files Browse the repository at this point in the history
And move CONTRIBUTING inside.
  • Loading branch information
polyfractal committed Mar 9, 2016
1 parent f9e0d99 commit 104a7ea
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
3 changes: 1 addition & 2 deletions CONTRIBUTING.md → .github/CONTRIBUTING.md
Expand Up @@ -31,8 +31,7 @@ The process for contributing to any of the Elasticsearch repositories is similar
and data..._do not_ run the tests on a production cluster!**

$> php util/RestSpecRunner.php
$> php phpunit.phar --bootstrap tests/bootstrap.php --no-configuration \
--coverage-clover build/logs/clover.xml --exclude-group ignore tests
$> php vendor/bin/phpunit

5. Ensure your changes follow the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/). You can run tools such as [PHP-CS-Fixer](http://cs.sensiolabs.org/) or [PHP_CodeSniffer](http://pear.php.net/package/PHP_CodeSniffer) to enforce PSR-2 automatically.

Expand Down
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE.md
@@ -0,0 +1,31 @@

### Summary of problem or feature request

<!-- Please describe your problem/feature request here. -->


### Code snippet of problem

<!--
If applicable, please include a copy of your code
which triggers the suspected bug.
You may use the markdown php code tags to format your paste:
```php
$params = ['foo'];
```
-->

### System details

<!--
Please include these details about your system!
If they are omitted, the ticket will be deprioritized
over other users requests/tickets.
-->

- Operating System
- PHP Version
- ES-PHP client version
- Elasticsearch version
14 changes: 14 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,14 @@
<--

Thanks for the Pull Request! Before you submit the PR, please
look over this checklist:

- Have you signed [Contributor License Agreement](http://www.elasticsearch.org/contributor-agreement/)?
PR's (no matter how small) cannot be merged until the CLA has been signed. It only needs to be signed once,
however.

- Have you read the [Contributing Guidelines](https://github.com/elastic/elasticsearch-php/blob/master/.github/CONTRIBUTING.md)?

If you answered yes to both, thanks for the PR and we'll get to it ASAP! :)

-->

0 comments on commit 104a7ea

Please sign in to comment.