This repository was archived by the owner on Jan 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +107
-27
lines changed Expand file tree Collapse file tree 9 files changed +107
-27
lines changed Original file line number Diff line number Diff line change 1
- spec / export-ignore
2
- tests / export-ignore
3
- .editorconfig export-ignore
4
- .gitattributes export-ignore
5
- .gitignore export-ignore
6
- .php_cs export-ignore
7
- .scrutinizer.yml export-ignore
8
- .styleci.yml export-ignore
9
- .travis.yml export-ignore
10
- CONTRIBUTING export-ignore
11
- phpspec.yml.ci export-ignore
12
- phpspec.yml.dist export-ignore
13
- phpunit.xml.dist export-ignore
1
+ .editorconfig export-ignore
2
+ .gitattributes export-ignore
3
+ /.github / export-ignore
4
+ .gitignore export-ignore
5
+ /.php_cs export-ignore
6
+ /.scrutinizer.yml export-ignore
7
+ /.styleci.yml export-ignore
8
+ /.travis.yml export-ignore
9
+ /behat.yml.dist export-ignore
10
+ /features / export-ignore
11
+ /phpspec.ci.yml export-ignore
12
+ /phpspec.yml.dist export-ignore
13
+ /phpunit.xml.dist export-ignore
14
+ /spec / export-ignore
15
+ /tests / export-ignore
Original file line number Diff line number Diff line change
1
+ # Contributing
2
+
3
+ Please see our [ contributing guide] ( http://docs.php-http.org/en/latest/development/contributing.html ) .
Original file line number Diff line number Diff line change
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)
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 1
- .puli /
2
- build /
3
- vendor /
4
- composer.lock
5
- phpspec.yml
6
- phpunit.xml
1
+ / behat.yml
2
+ / build /
3
+ / composer.lock
4
+ / phpspec.yml
5
+ / phpunit.xml
6
+ / vendor /
Original file line number Diff line number Diff line change 5
5
- " spec"
6
6
path :
7
7
- " src"
8
+ - " tests"
8
9
9
10
enabled :
10
11
- short_array_syntax
12
+
13
+ disabled :
14
+ - phpdoc_annotation_without_dot # This is still buggy: https://github.com/symfony/symfony/pull/19198
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ sudo: false
4
4
5
5
cache :
6
6
directories :
7
- - $HOME/.composer/cache
7
+ - $HOME/.composer/cache/files
8
8
9
9
php :
10
10
- 5.5
@@ -30,10 +30,12 @@ matrix:
30
30
env : COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
31
31
32
32
before_install :
33
- - travis_retry composer self-update
33
+ - if [[ $COVERAGE != true ]]; then phpenv config-rm xdebug.ini || true; fi
34
34
35
35
install :
36
- - travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
36
+ # To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
37
+ - if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi
38
+ - travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
37
39
38
40
before_script :
39
41
- vendor/bin/http_test_server > /dev/null 2>&1 &
@@ -42,5 +44,5 @@ script:
42
44
- $TEST_COMMAND
43
45
44
46
after_success :
45
- - if [[ " $COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
46
- - if [[ " $COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi
47
+ - if [[ $COVERAGE = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
48
+ - if [[ $COVERAGE = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 15
15
}
16
16
],
17
17
"require" : {
18
- "php" : " >= 5.5.0" ,
18
+ "php" : " ^ 5.5 || ^7 .0" ,
19
19
"php-http/httplug" : " ^1.0" ,
20
20
"guzzlehttp/guzzle" : " ^6.0"
21
21
},
22
22
"require-dev" : {
23
23
"ext-curl" : " *" ,
24
- "php-http/adapter -integration-tests" : " ^0.4 "
24
+ "php-http/client -integration-tests" : " ^0.5.1 "
25
25
},
26
26
"provide" : {
27
27
"php-http/client-implementation" : " 1.0" ,
You can’t perform that action at this time.
0 commit comments