Skip to content

Commit 1567a7c

Browse files
committed
Improve package
1 parent c2fdc8c commit 1567a7c

7 files changed

+79
-7
lines changed

.gitattributes

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
spec/ export-ignore
2-
tests/ export-ignore
31
.editorconfig export-ignore
42
.gitattributes export-ignore
3+
.github/ export-ignore
54
.gitignore export-ignore
65
.php_cs export-ignore
76
.scrutinizer.yml export-ignore
87
.styleci.yml export-ignore
98
.travis.yml export-ignore
10-
CONTRIBUTING export-ignore
119
phpspec.yml.ci export-ignore
1210
phpspec.yml.dist export-ignore
1311
phpunit.xml.dist export-ignore
12+
spec/ export-ignore
13+
tests/ export-ignore

.github/CONTRIBUTING.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contributing
2+
3+
Please see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html).

.github/ISSUE_TEMPLATE.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
| Q | A
2+
| ------------ | ---
3+
| Bug? | no|yes
4+
| New Feature? | no|yes
5+
| Version | Specific version or SHA of a commit
6+
7+
8+
#### Actual Behavior
9+
10+
What is the actual behavior?
11+
12+
13+
#### Expected Behavior
14+
15+
What is the behavior you expect?
16+
17+
18+
#### Steps to Reproduce
19+
20+
What are the steps to reproduce this bug? Please add code examples,
21+
screenshots or links to GitHub repositories that reproduce the problem.
22+
23+
24+
#### Possible Solutions
25+
26+
If you have already ideas how to solve the issue, add them here.
27+
(remove this section if not needed)

.github/PULL_REQUEST_TEMPLATE.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
| Q | A
2+
| --------------- | ---
3+
| Bug fix? | no|yes
4+
| New feature? | no|yes
5+
| BC breaks? | no|yes
6+
| Deprecations? | no|yes
7+
| Related tickets | fixes #X, partially #Y, mentioned in #Z
8+
| Documentation | if this is a new feature, link to pull request in https://github.com/php-http/documentation that adds relevant documentation
9+
| License | MIT
10+
11+
12+
#### What's in this PR?
13+
14+
Explain what the changes in this PR do.
15+
16+
17+
#### Why?
18+
19+
Which problem does the PR fix? (remove this section if you linked an issue above)
20+
21+
22+
#### Example Usage
23+
24+
``` php
25+
// If you added new features, show examples of how to use them here
26+
// (remove this section if not a new feature)
27+
28+
$foo = new Foo();
29+
30+
// Now we can do
31+
$foo->doSomething();
32+
```
33+
34+
35+
#### Checklist
36+
37+
- [ ] Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix
38+
- [ ] Documentation pull request created (if not simply a bugfix)
39+
40+
41+
#### To Do
42+
43+
- [ ] If the PR is not complete but you want to discuss the approach, list what remains to be done here

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sudo: false
44

55
cache:
66
directories:
7-
- $HOME/.composer/cache
7+
- $HOME/.composer/cache/files
88

99
php:
1010
- 5.4
@@ -31,7 +31,7 @@ before_install:
3131
- travis_retry composer self-update
3232

3333
install:
34-
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
34+
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
3535

3636
script:
3737
- $TEST_COMMAND

CONTRIBUTING

-1
This file was deleted.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Common HTTP Client implementations and tools for HTTPlug",
44
"license": "MIT",
55
"keywords": ["http", "client", "httplug", "common"],
6-
"homepage": "http://httplug.io",
6+
"homepage": "http://php-http.org",
77
"authors": [
88
{
99
"name": "Márk Sági-Kazár",

0 commit comments

Comments
 (0)