Skip to content

Commit 054019a

Browse files
authored
Merge pull request #1 from ezimuel/lucian303-fix-case-sensitive-header-handling
Added the unit tests for PR zendframework#53
2 parents b65d7a5 + 871dda0 commit 054019a

34 files changed

+2431
-2958
lines changed

.coveralls.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
coverage_clover: clover.xml
22
json_path: coveralls-upload.json
3-
src_dir: src

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
.*.sw*
77
.*.un~
88
nbproject
9+
doc/html/
910
tmp/
11+
zf-mkdoc-theme/
1012

1113
clover.xml
1214
composer.lock

.travis.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,24 @@ language: php
44

55
branches:
66
except:
7-
- /^release-.*$/
7+
- /^release-\d+\.\d+\.\d+.*$/
88
- /^ghgfk-.*$/
99

1010
cache:
1111
directories:
1212
- $HOME/.composer/cache
13+
- vendor
14+
- $HOME/.local
15+
- zf-mkdoc-theme
1316

1417
env:
1518
global:
1619
- TESTS_ZEND_HTTP_CLIENT_ONLINE=true
20+
- SITE_URL: https://zendframework.github.io/zend-http
21+
- GH_USER_NAME: "Matthew Weier O'Phinney"
22+
- GH_USER_EMAIL: [email protected]
23+
- GH_REF: github.com/zendframework/zend-http.git
24+
- secure: "dla3bBhLgsNCSTFaQJF41P56GoNTDOlZA4OGdu14xsTdtcbncPtZ33oojsxXH5XtdB7bYTpMTx7IC+2FEIrWvfbtaFSdOBoriZz+DuvZKCaD/M56H3q3gAumuXvLBH/R+14uFLNRViztP/6uUUVvwRGSnYub2byaX5xTWRelzQjU15p6l8DA7N7RB9hWeZq+41RhpH3DBZOFHpsy+ezy/GWu005CVdSkBG4p5wHW9hs7LBFqn+kN0Qa1zjX3G+p/Gn28+ro1FF5T8TK/hbI/0hDnVJUjSOUXi5VcsOFcnJ50XZBa42PYI6/P6zSI7uuqQzlsefGXslsnYcsmagmACACrnH0nHJB29jlIGzRLOSGpFzOLDjDjlSCOHwZjeLF6tGeEtBQMp+VNnM3GQb5YEaXEmvvt+m+LEvm8mD2w4A47yydYP6AoLBlGpEEORfqUAhSLOJLoXuGAb90wEe4mIRIJegqQQihWppIMWIVXS2kdGSwzA/WnAuyAKywUiXgCcxsW6Aa8DZl1vTgeBA2MkwsBB3IhAweRVaJHnv4ijVWTN0BrAd0naPB+8XzcXgbtpsoRl+Z5RFAFCJQ+nJucdFMkKyr1DotfspyhnbRw4gOZufjCzTQaox8/DbPS0dmb1Zbzb1t80uqPQmMwdtek4Ovm7IVX2iRW3pluS9PWg5Q="
1725

1826
matrix:
1927
fast_finish: true
@@ -24,6 +32,8 @@ matrix:
2432
- php: 5.6
2533
env:
2634
- EXECUTE_TEST_COVERALLS=true
35+
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
36+
- PATH="$HOME/.local/bin:$PATH"
2737
- php: 7
2838
- php: hhvm
2939
allow_failures:
@@ -45,6 +55,10 @@ script:
4555
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then ./vendor/bin/phpunit --coverage-clover clover.xml ; fi
4656
- if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then ./vendor/bin/phpunit ; fi
4757
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run ; fi
58+
- if [[ $DEPLOY_DOCS == "true" && "$TRAVIS_TEST_RESULT" == "0" ]]; then wget -O theme-installer.sh "https://raw.githubusercontent.com/zendframework/zf-mkdoc-theme/master/theme-installer.sh" ; chmod 755 theme-installer.sh ; ./theme-installer.sh ; fi
59+
60+
after_success:
61+
- if [[ $DEPLOY_DOCS == "true" ]]; then echo "Preparing to build and deploy documentation" ; ./zf-mkdoc-theme/deploy.sh ; echo "Completed deploying documentation" ; fi
4862

4963
after_script:
5064
- if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then ./vendor/bin/coveralls ; fi

CHANGELOG.md

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

77
### Added
88

9-
- Nothing.
9+
- [#44](https://github.com/zendframework/zend-http/pull/44),
10+
[#45](https://github.com/zendframework/zend-http/pull/45),
11+
[#46](https://github.com/zendframework/zend-http/pull/46),
12+
[#47](https://github.com/zendframework/zend-http/pull/47),
13+
[#48](https://github.com/zendframework/zend-http/pull/48), and
14+
[#49](https://github.com/zendframework/zend-http/pull/49) prepare the
15+
documentation for publication at https://zendframework.github.io/zend-http/
1016

1117
### Deprecated
1218

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
[![Build Status](https://secure.travis-ci.org/zendframework/zend-http.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-http)
44
[![Coverage Status](https://coveralls.io/repos/zendframework/zend-http/badge.svg?branch=master)](https://coveralls.io/r/zendframework/zend-http?branch=master)
55

6-
`Zend\Http` is a primary foundational component of Zend Framework. Since much of
7-
what PHP does is web-based, specifically HTTP, it makes sense to have a performant,
8-
extensible, concise and consistent API to do all things HTTP.
6+
zend-http provides the HTTP message abstraction used by
7+
[zend-mvc](https://zendframework.github.io/zend-mvc/), and also provides an
8+
extensible, adapter-driven HTTP client library.
99

10+
This library **does not** support [PSR-7](http://www.php-fig.org/psr/psr-7), as
11+
it predates that specification. For PSR-7 support, please see our
12+
[Diactoros component](https://zendframework.github.io/zend-diactoros/).
1013

1114
- File issues at https://github.com/zendframework/zend-http/issues
12-
- Documentation is at http://framework.zend.com/manual/current/en/index.html#zend-http
15+
- Documentation is at https://zendframework.github.io/zend-http/

0 commit comments

Comments
 (0)