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

Commit 6bf7529

Browse files
committed
Merge branch 'develop' into inconsistences
2 parents 0d462e7 + 5325839 commit 6bf7529

File tree

9 files changed

+1271
-31
lines changed

9 files changed

+1271
-31
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
doc/html/
22
vendor/
33
zf-mkdoc-theme/
4-
composer.lock
54
phpunit.xml

.travis.yml

Lines changed: 68 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,55 +5,101 @@ language: php
55
cache:
66
directories:
77
- $HOME/.composer/cache
8-
- vendor
98
- $HOME/.local
109
- zf-mkdoc-theme
1110

1211
env:
1312
global:
14-
- SITE_URL: https://zendframework.github.io/zend-diactoros
15-
- GH_USER_NAME: "Matthew Weier O'Phinney"
16-
- GH_USER_EMAIL: [email protected]
17-
- GH_REF: github.com/zendframework/zend-diactoros.git
13+
- COMPOSER_ARGS="--no-interaction"
14+
- SITE_URL="https://zendframework.github.io/zend-diactoros"
15+
- GH_USER_NAME="Matthew Weier O'Phinney"
16+
- GH_USER_EMAIL="[email protected]"
17+
- GH_REF="github.com/zendframework/zend-diactoros.git"
1818
- secure: "abqt51VvId/3EvfymODyivOye2YNlTXPMNk297kM3G5bMxB7ILPUwwSTxfMHoiW9BHjJpdKi+IGBF4GKeYElQHdIwleyLow8dTCpUiJS3RogwaTcm2FbwEJDCFbkV4WRm/HHjriji/wBfBmaAJEfYYlLQAHQWTT7AK7dAgQmiAzaItStl2TV5D/XZU9GLNXay3nH0cDygf+g4t6rFcf3VsI5weHb3WhjATfN+mU82XXkwm2z8Pc1IglBYHskdlwUgbsz8ppTdXplXdKjnf6YdxPapYDKd7TecIV3BWtueC2i48rqblPaSWOzx7qMCA/4aJjzEBmuqqSlYXka2SdGPdBPbpGwcKv09e273xqWQ9sF3d8YhEsSrJBpMpgu4RN+ucLRa15Xcj0oF4aVxrFqxtC7wud7hC0pg6q48dY7PlQh/wTO2biuXcGACcGqMcjPgmE3HJYpK5HoWHUBoWi1VHqbTPRx1jIQD1ILibu9WkuTEtdAi5IXSYAmVSknfyZ7UYJuJgOjhmmkMOcYzD5JJuRGEJASzQk1tX5DItX8mH/LIW942bVOQ+fwsmL/Z+tJDnMpJXLd6tXtyYs99lxFSBSSjqNGAG5HUFjVczvQy9GeeDd2p70IA80NuQNjfXrsyQ9tg8d1keNTOpPCJUwZm7S6IEsvrWAGO6lZ+q7DPQk="
1919

2020
matrix:
21-
fast_finish: true
2221
include:
2322
- php: 5.4
23+
env:
24+
- DEPS=lowest
25+
- php: 5.4
26+
env:
27+
- DEPS=locked
28+
- php: 5.4
29+
env:
30+
- DEPS=latest
31+
- php: 5.5
32+
env:
33+
- DEPS=lowest
2434
- php: 5.5
2535
env:
26-
- EXECUTE_CS_CHECK=true
36+
- DEPS=locked
37+
- php: 5.5
38+
env:
39+
- DEPS=latest
40+
- php: 5.6
41+
env:
42+
- DEPS=lowest
2743
- php: 5.6
2844
env:
29-
- EXECUTE_COVERAGE=true
45+
- DEPS=locked
3046
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
3147
- PATH="$HOME/.local/bin:$PATH"
32-
- php: 7.0
48+
- TEST_COVERAGE=true
49+
- php: 5.6
50+
env:
51+
- DEPS=latest
52+
- php: 7
53+
env:
54+
- DEPS=lowest
55+
- php: 7
56+
env:
57+
- DEPS=locked
58+
- CHECK_CS=true
59+
- php: 7
60+
env:
61+
- DEPS=latest
62+
- php: 7.1
63+
env:
64+
- DEPS=lowest
65+
- php: 7.1
66+
env:
67+
- DEPS=locked
3368
- php: 7.1
69+
env:
70+
- DEPS=latest
71+
- php: hhvm
72+
env:
73+
- DEPS=lowest
3474
- php: hhvm
75+
env:
76+
- DEPS=locked
77+
- php: hhvm
78+
env:
79+
- DEPS=latest
3580

3681
notifications:
3782
irc: "irc.freenode.org#zftalk.dev"
3883
email: false
3984

4085
before_install:
41-
- if [[ $EXECUTE_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
42-
- composer self-update
43-
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then composer require --no-update satooshi/php-coveralls:dev-master ; fi
86+
- travis_retry composer self-update
87+
- if [[ $TEST_COVERAGE != 'true' && "$(php --version | grep xdebug -ci)" -ge 1 ]]; then phpenv config-rm xdebug.ini ; fi
4488

4589
install:
46-
- travis_retry composer install --no-interaction --prefer-source
47-
- composer info -i
90+
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
91+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
92+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS satooshi/php-coveralls:^1.0 ; fi
93+
- travis_retry composer install $COMPOSER_ARGS
94+
- composer show
4895

4996
script:
50-
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then composer test-coverage ; fi
51-
- if [[ $EXECUTE_COVERAGE != 'true' ]]; then composer test ; fi
52-
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then composer cs ; fi
53-
- 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
54-
55-
after_success:
56-
- if [[ $DEPLOY_DOCS == "true" ]]; then echo "Preparing to build and deploy documentation" ; ./zf-mkdoc-theme/deploy.sh ; echo "Completed deploying documentation" ; fi
97+
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
98+
- if [[ $CHECK_CS == 'true' ]]; then composer cs-check ; fi
99+
- if [[ $DEPLOY_DOCS == "true" && "$TRAVIS_TEST_RESULT" == "0" ]]; then travis_retry curl -sSL https://raw.githubusercontent.com/zendframework/zf-mkdoc-theme/master/theme-installer.sh | bash ; fi
57100

58101
after_script:
59-
- if [[ $EXECUTE_COVERAGE == 'true' ]]; then composer coveralls ; fi
102+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer upload-coverage ; fi
103+
104+
after_success:
105+
- if [[ $DEPLOY_DOCS == "true" ]]; then ./zf-mkdoc-theme/deploy.sh ; fi

CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,69 @@
22

33
All notable changes to this project will be documented in this file, in reverse chronological order by release.
44

5+
## 1.4.0 - TBD
6+
7+
### Added
8+
9+
- Nothing.
10+
11+
### Deprecated
12+
13+
- Nothing.
14+
15+
### Removed
16+
17+
- Nothing.
18+
19+
### Fixed
20+
21+
- Nothing.
22+
23+
## 1.3.8 - TBD
24+
25+
### Added
26+
27+
- Nothing.
28+
29+
### Deprecated
30+
31+
- Nothing.
32+
33+
### Removed
34+
35+
- Nothing.
36+
37+
### Fixed
38+
39+
- Nothing.
40+
41+
## 1.3.7 - 2016-10-11
42+
43+
### Added
44+
45+
- [#208](https://github.com/zendframework/zend-diactoros/pull/208) adds several
46+
missing response codes to `Zend\Diactoros\Response`, including:
47+
- 226 ('IM used')
48+
- 308 ('Permanent Redirect')
49+
- 444 ('Connection Closed Without Response')
50+
- 499 ('Client Closed Request')
51+
- 510 ('Not Extended')
52+
- 599 ('Network Connect Timeout Error')
53+
- [#211](https://github.com/zendframework/zend-diactoros/pull/211) adds support
54+
for UTF-8 characters in query strings handled by `Zend\Diactoros\Uri`.
55+
56+
### Deprecated
57+
58+
- Nothing.
59+
60+
### Removed
61+
62+
- Nothing.
63+
64+
### Fixed
65+
66+
- Nothing.
67+
568
## 1.3.6 - 2016-09-07
669

770
### Added

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@
4646
},
4747
"scripts": {
4848
"check": [
49-
"@cs",
49+
"@cs-check",
5050
"@test"
5151
],
52-
"coveralls": "coveralls",
53-
"cs": "phpcs",
52+
"upload-coverage": "coveralls -v",
53+
"cs-check": "phpcs",
5454
"cs-fix": "phpcbf",
55-
"test": "phpunit",
56-
"test-coverage": "phpunit --coverage-clover clover.xml"
55+
"test": "phpunit --colors=always",
56+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
5757
}
5858
}

0 commit comments

Comments
 (0)