Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 2e230b0

Browse files
committed
Merge branch 'hotfix/qa-tools' into develop
Forward port #139 Forward port #142 Forward port #143 Forward port #144 Forward port #145
2 parents ea19397 + 0b1c0b6 commit 2e230b0

26 files changed

+499
-338
lines changed

.gitattributes

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
/doc export-ignore
2-
/test export-ignore
3-
.gitattributes export-ignore
4-
.gitignore export-ignore
5-
.travis.yml export-ignore
6-
mkdocs.yml export-ignore
7-
phpcs.xml export-ignore
8-
phpunit.xml.dist export-ignore
1+
/.coveralls.yml export-ignore
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/.travis.yml export-ignore
5+
/composer.lock export-ignore
6+
/docs/ export-ignore
7+
/mkdocs.yml export-ignore
8+
/phpcs.xml export-ignore
9+
/phpunit.xml.dist export-ignore
10+
/test/ export-ignore

.gitignore

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
doc/html/
2-
vendor/
3-
phpunit.xml
4-
zf-mkdoc-theme/
5-
clover.xml
6-
coveralls-upload.json
7-
zf-mkdoc-theme.tgz
1+
/clover.xml
2+
/coveralls-upload.json
3+
/docs/html/
4+
/phpunit.xml
5+
/vendor/
6+
/zf-mkdoc-theme.tgz
7+
/zf-mkdoc-theme/

.travis.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,14 @@ sudo: false
22

33
language: php
44

5-
branches:
6-
except:
7-
- /^release-.*$/
8-
- /^ghgfk-.*$/
95
cache:
106
directories:
117
- $HOME/.composer/cache
128

139
env:
1410
global:
1511
- COMPOSER_ARGS="--no-interaction"
16-
- COVERAGE_DEPS="satooshi/php-coveralls"
17-
- LEGACY_DEPS="phpunit/phpunit"
12+
- COVERAGE_DEPS="php-coveralls/php-coveralls"
1813
- TESTS_ZEND_HTTP_CLIENT_ONLINE=true
1914

2015
matrix:
@@ -25,8 +20,7 @@ matrix:
2520
- php: 5.6
2621
env:
2722
- DEPS=locked
28-
- CS_CHECK=true
29-
- TEST_COVERAGE=true
23+
- LEGACY_DEPS="phpunit/phpunit"
3024
- php: 5.6
3125
env:
3226
- DEPS=latest
@@ -36,6 +30,7 @@ matrix:
3630
- php: 7
3731
env:
3832
- DEPS=locked
33+
- LEGACY_DEPS="phpunit/phpunit"
3934
- php: 7
4035
env:
4136
- DEPS=latest
@@ -45,6 +40,8 @@ matrix:
4540
- php: 7.1
4641
env:
4742
- DEPS=locked
43+
- CS_CHECK=true
44+
- TEST_COVERAGE=true
4845
- php: 7.1
4946
env:
5047
- DEPS=latest
@@ -57,16 +54,13 @@ matrix:
5754
- php: 7.2
5855
env:
5956
- DEPS=latest
60-
allow_failures:
61-
- php: 7.2
6257

6358
before_install:
64-
- if [[ $TEST_COVERAGE != 'true' && "$(php --version | grep xdebug -ci)" -ge 1 ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
65-
- travis_retry composer self-update
59+
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
6660

6761
install:
6862
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
69-
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
63+
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
7064
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
7165
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
7266
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
@@ -77,7 +71,7 @@ script:
7771
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
7872

7973
after_script:
80-
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi
74+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v ; fi
8175

8276
notifications:
8377
email: false

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ All notable changes to this project will be documented in this file, in reverse
2424

2525
### Added
2626

27+
- [#143](https://github.com/zendframework/zend-http/pull/143) adds support for PHP 7.2.
28+
29+
### Changed
30+
2731
- Nothing.
2832

2933
### Deprecated
@@ -117,7 +121,7 @@ All notable changes to this project will be documented in this file, in reverse
117121
Security Policy CSP HTTP header when it is `none` (empty value).
118122
- [#92](https://github.com/zendframework/zend-http/pull/92) fixes the flatten
119123
cookies value for array value (also multidimensional).
120-
- [#34](https://github.com/zendframework/zend-http/issues/33) fixes the
124+
- [#34](https://github.com/zendframework/zend-http/pull/34) fixes the
121125
standard separator (&) for application/x-www-form-urlencoded.
122126

123127
## 2.5.5 - 2016-08-08

LICENSE.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
Copyright (c) 2005-2015, Zend Technologies USA, Inc.
2-
1+
Copyright (c) 2005-2018, Zend Technologies USA, Inc.
32
All rights reserved.
43

54
Redistribution and use in source and binary forms, with or without modification,
65
are permitted provided that the following conditions are met:
76

8-
- Redistributions of source code must retain the above copyright notice,
9-
this list of conditions and the following disclaimer.
7+
- Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
109

11-
- Redistributions in binary form must reproduce the above copyright notice,
12-
this list of conditions and the following disclaimer in the documentation
13-
and/or other materials provided with the distribution.
10+
- Redistributions in binary form must reproduce the above copyright notice, this
11+
list of conditions and the following disclaimer in the documentation and/or
12+
other materials provided with the distribution.
1413

1514
- Neither the name of Zend Technologies USA, Inc. nor the names of its
1615
contributors may be used to endorse or promote products derived from this

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# zend-http
22

33
[![Build Status](https://secure.travis-ci.org/zendframework/zend-http.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-http)
4-
[![Coverage Status](https://coveralls.io/repos/zendframework/zend-http/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-http?branch=master)
4+
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-http/badge.svg?branch=master)](https://coveralls.io/github/zendframework/zend-http?branch=master)
55

66
zend-http provides the HTTP message abstraction used by
77
[zend-mvc](https://docs.zendframework.com/zend-mvc/), and also provides an
@@ -12,4 +12,4 @@ it predates that specification. For PSR-7 support, please see our
1212
[Diactoros component](https://docs.zendframework.com/zend-diactoros/).
1313

1414
- File issues at https://github.com/zendframework/zend-http/issues
15-
- Documentation is at https://zendframework.github.io/zend-http/
15+
- Documentation is at https://docs.zendframework.com/zend-http/

composer.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "zendframework/zend-http",
3-
"description": "provides an easy interface for performing Hyper-Text Transfer Protocol (HTTP) requests",
4-
"homepage": "https://github.com/zendframework/zend-http",
3+
"description": "Provides an easy interface for performing Hyper-Text Transfer Protocol (HTTP) requests",
54
"license": "BSD-3-Clause",
65
"keywords": [
76
"zf",
@@ -11,16 +10,13 @@
1110
"HTTP client"
1211
],
1312
"support": {
14-
"docs": "https://docs.zendframework.com/zend-http",
13+
"docs": "https://docs.zendframework.com/zend-http/",
1514
"issues": "https://github.com/zendframework/zend-http/issues",
1615
"source": "https://github.com/zendframework/zend-http",
1716
"rss": "https://github.com/zendframework/zend-http/releases.atom",
18-
"slack": "https://zendframework-slack.herokuapp.com",
17+
"chat": "https://zendframework-slack.herokuapp.com",
1918
"forum": "https://discourse.zendframework.com/c/questions/components"
2019
},
21-
"config": {
22-
"sort-packages": true
23-
},
2420
"require": {
2521
"php": "^5.6 || ^7.0",
2622
"zendframework/zend-loader": "^2.5.1",
@@ -29,7 +25,7 @@
2925
"zendframework/zend-validator": "^2.10.1"
3026
},
3127
"require-dev": {
32-
"phpunit/phpunit": "^6.4.1 || ^5.7.15",
28+
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.3",
3329
"zendframework/zend-coding-standard": "~1.0.0",
3430
"zendframework/zend-config": "^3.1 || ^2.6"
3531
},
@@ -43,10 +39,13 @@
4339
"ZendTest\\Http\\": "test/"
4440
}
4541
},
42+
"config": {
43+
"sort-packages": true
44+
},
4645
"extra": {
4746
"branch-alias": {
48-
"dev-master": "2.7-dev",
49-
"dev-develop": "2.8-dev"
47+
"dev-master": "2.7.x-dev",
48+
"dev-develop": "2.8.x-dev"
5049
}
5150
},
5251
"scripts": {
@@ -57,7 +56,6 @@
5756
"cs-check": "phpcs",
5857
"cs-fix": "phpcbf",
5958
"test": "phpunit --colors=always",
60-
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
61-
"upload-coverage": "coveralls -v"
59+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
6260
}
6361
}

0 commit comments

Comments
 (0)