Skip to content

Commit 104a7ea

Browse files
committed
Add .github templates
And move CONTRIBUTING inside.
1 parent f9e0d99 commit 104a7ea

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

CONTRIBUTING.md renamed to .github/CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ The process for contributing to any of the Elasticsearch repositories is similar
3131
and data..._do not_ run the tests on a production cluster!**
3232

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

3736
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.
3837

.github/ISSUE_TEMPLATE.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
### Summary of problem or feature request
3+
4+
<!-- Please describe your problem/feature request here. -->
5+
6+
7+
### Code snippet of problem
8+
9+
<!--
10+
If applicable, please include a copy of your code
11+
which triggers the suspected bug.
12+
13+
You may use the markdown php code tags to format your paste:
14+
15+
```php
16+
$params = ['foo'];
17+
```
18+
-->
19+
20+
### System details
21+
22+
<!--
23+
Please include these details about your system!
24+
If they are omitted, the ticket will be deprioritized
25+
over other users requests/tickets.
26+
-->
27+
28+
- Operating System
29+
- PHP Version
30+
- ES-PHP client version
31+
- Elasticsearch version

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<--
2+
3+
Thanks for the Pull Request! Before you submit the PR, please
4+
look over this checklist:
5+
6+
- Have you signed [Contributor License Agreement](http://www.elasticsearch.org/contributor-agreement/)?
7+
PR's (no matter how small) cannot be merged until the CLA has been signed. It only needs to be signed once,
8+
however.
9+
10+
- Have you read the [Contributing Guidelines](https://github.com/elastic/elasticsearch-php/blob/master/.github/CONTRIBUTING.md)?
11+
12+
If you answered yes to both, thanks for the PR and we'll get to it ASAP! :)
13+
14+
-->

0 commit comments

Comments
 (0)