Skip to content

Commit b73d913

Browse files
Merge pull request #32 from php-http/generic_improvements
Generic package improved
2 parents 4a3f32e + e7917c2 commit b73d913

7 files changed

+33
-24
lines changed

.gitattributes

+15-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
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-
phpspec.yml.ci export-ignore
10-
phpspec.yml.dist export-ignore
11-
phpunit.xml.dist export-ignore
12-
spec/ export-ignore
13-
tests/ 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

.gitignore

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
build/
2-
vendor/
3-
composer.lock
4-
phpspec.yml
5-
phpunit.xml
1+
/behat.yml
2+
/build/
3+
/composer.lock
4+
/phpspec.yml
5+
/phpunit.xml
6+
/vendor/

.styleci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ finder:
55
- "spec"
66
path:
77
- "src"
8+
- "tests"
89

910
enabled:
1011
- short_array_syntax
12+
13+
disabled:
14+
- phpdoc_annotation_without_dot # This is still buggy: https://github.com/symfony/symfony/pull/19198

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ matrix:
2828
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
2929

3030
before_install:
31-
- travis_retry composer self-update
31+
- if [[ $COVERAGE != true && $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; fi
3232

3333
install:
3434
# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
@@ -39,5 +39,5 @@ script:
3939
- $TEST_COMMAND
4040

4141
after_success:
42-
- if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
43-
- if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi
42+
- if [[ $COVERAGE = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
43+
- if [[ $COVERAGE = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Change Log
22

3-
## Unreleased
3+
4+
## UNRELEASED
45

56
### Changed
67

78
- AddHostPlugin also sets the port if specified
89

10+
911
## 1.2.0 - 2016-07-14
1012

1113
### Added

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"php-http/httplug": "^1.0",
1616
"php-http/message-factory": "^1.0",
1717
"php-http/message": "^1.2",
18-
"symfony/options-resolver": "^2.6|^3.0"
18+
"symfony/options-resolver": "^2.6 || ^3.0"
1919
},
2020
"require-dev": {
2121
"phpspec/phpspec": "^2.4",
@@ -33,7 +33,7 @@
3333
},
3434
"scripts": {
3535
"test": "vendor/bin/phpspec run",
36-
"test-ci": "vendor/bin/phpspec run -c phpspec.yml.ci"
36+
"test-ci": "vendor/bin/phpspec run -c phpspec.ci.yml"
3737
},
3838
"extra": {
3939
"branch-alias": {
File renamed without changes.

0 commit comments

Comments
 (0)