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

Commit 73aa3d8

Browse files
committed
Merging develop to master in preparation for 2.1.0 release
2 parents 2a03918 + 8953f78 commit 73aa3d8

13 files changed

+764
-474
lines changed

.gitattributes

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

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
vendor/
2-
phpunit.xml
3-
clover.xml
4-
coveralls-upload.json
1+
/clover.xml
2+
/coveralls-upload.json
3+
/phpunit.xml
4+
/vendor/

.travis.yml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@ language: php
55
cache:
66
directories:
77
- $HOME/.composer/cache
8-
- $HOME/.local
9-
- vendor
108

119
env:
1210
global:
1311
- COMPOSER_ARGS="--no-interaction"
1412
- COVERAGE_DEPS="satooshi/php-coveralls"
15-
- LEGACY_DEPS="phpunit/phpunit"
1613

1714
matrix:
1815
include:
@@ -22,7 +19,7 @@ matrix:
2219
- php: 5.6
2320
env:
2421
- DEPS=locked
25-
- TEST_COVERAGE=true
22+
- LEGACY_DEPS="phpunit/phpunit"
2623
- php: 5.6
2724
env:
2825
- DEPS=latest
@@ -32,7 +29,7 @@ matrix:
3229
- php: 7
3330
env:
3431
- DEPS=locked
35-
- CS_CHECK=true
32+
- LEGACY_DEPS="phpunit/phpunit"
3633
- php: 7
3734
env:
3835
- DEPS=latest
@@ -42,32 +39,32 @@ matrix:
4239
- php: 7.1
4340
env:
4441
- DEPS=locked
42+
- CS_CHECK=true
43+
- TEST_COVERAGE=true
4544
- php: 7.1
4645
env:
4746
- DEPS=latest
48-
- php: hhvm
47+
- php: 7.2
4948
env:
5049
- DEPS=lowest
51-
- php: hhvm
50+
- php: 7.2
5251
env:
5352
- DEPS=locked
54-
- php: hhvm
53+
- php: 7.2
5554
env:
5655
- DEPS=latest
57-
allow_failures:
58-
- php: hhvm
5956

6057
before_install:
6158
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
6259
- travis_retry composer self-update
6360

6461
install:
6562
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
66-
- 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
6764
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
6865
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
6966
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
70-
- composer show
67+
- stty cols 120 && composer show
7168

7269
script:
7370
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
@@ -79,13 +76,3 @@ after_script:
7976

8077
notifications:
8178
email: false
82-
irc:
83-
channels:
84-
- "irc.freenode.org#zftalk.dev"
85-
on_success: change
86-
on_failure: always
87-
slack:
88-
rooms:
89-
- secure: "K9Zezdppu4skoO5noPNJlt7b93qyz/2gA/5wbFKZz4B/sjjoQpamnUOy8X89NN1b5KdisudI3apPE5AHVvuY15rcAFQ41Q9/f7xfN4qlceIi5PCgxpdGjmwoDAbBiP2WgUSl1KIZz2ht1Nl6XZe481XWSm6SaECL59lTTmSIyaUVPV+Iya3ww1Dj9xdLDVonkq6B/PIc9zU3EyrNhuYBhnK4D0asQAoBsk+jcvMjRAg/Rzi8PEJXI7bIj1kj3aR/2V396Zp+ldgJJiujL3q13YJN8tMuaKBAABNE59nZFYRlR4tDZNwTK9wN+9Lj+LSj7xnrOMeatGNuy1ouwfM05+r6GZJVLCKJ869uKAmvXf5sLQ9KKk+2Yg/P9K+6MiOWc/MCc6/Hf9wqGO9Pfu1L2TDamwaWMLULMO71LXOnPdAWt9oGOccD7DLzDm8P/dOs5f5yOpupzZrrIT/kmCkj5LOsFBauN0krrh42YJ1sggDJUib6nmhvv6DP/oBKFmSYJApvZGlGOLyDVG3qk+SZ5ZTzKR6ZglGsuJi62q6+k+cGMFxlyyawvN7mVSaUWViHom+voGmot12sHVF3ZV04H4GPofSivAvHE/CDbD/OXmR8iMWRf5T+8uHQSZXidToE5WUAGzp3yDOBYWHZcmqX0Zc/gUloZKL0QEdSn3mmAho="
90-
on_success: change
91-
on_failure: always

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,24 @@
22

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

5-
## 2.0.2 - TBD
5+
## 2.1.0 - 2017-12-06
66

77
### Added
88

9-
- Nothing.
9+
- [#26](https://github.com/zendframework/zend-expressive-zendrouter/pull/26)
10+
adds support for PHP 7.2.
11+
12+
- [#27](https://github.com/zendframework/zend-expressive-zendrouter/pull/27)
13+
adds support for the zend-psr7bridge 1.0 series of releases.
1014

1115
### Deprecated
1216

1317
- Nothing.
1418

1519
### Removed
1620

17-
- Nothing.
21+
- [#26](https://github.com/zendframework/zend-expressive-zendrouter/pull/26)
22+
removes support for HHVM.
1823

1924
### Fixed
2025

LICENSE.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,27 @@
1-
Copyright (c) 2015, Zend Technologies USA, Inc.
1+
Copyright (c) 2015-2017, Zend Technologies USA, Inc.
22
All rights reserved.
33

4-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4+
Redistribution and use in source and binary forms, with or without modification,
5+
are permitted provided that the following conditions are met:
56

6-
- Redistributions of source code must retain the above copyright notice, 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.
79

8-
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation 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.
913

10-
- Neither the name of Zend Technologies USA, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
14+
- Neither the name of Zend Technologies USA, Inc. nor the names of its
15+
contributors may be used to endorse or promote products derived from this
16+
software without specific prior written permission.
1117

12-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
22+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# zend-mvc Router Integration for Expressive
22

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

66
Provides [ZF2's MVC router](https://github.com/zendframework/zend-mvc)
77
integration for [zend-expressive](https://github.com/zendframework/zend-expressive).

composer.json

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,68 @@
11
{
22
"name": "zendframework/zend-expressive-zendrouter",
33
"description": "zend-mvc router support for Expressive",
4-
"type": "library",
54
"license": "BSD-3-Clause",
65
"keywords": [
76
"expressive",
87
"http",
98
"middleware",
109
"psr",
1110
"psr-7",
12-
"zf"
11+
"zf",
12+
"zendframework",
13+
"zend-expressive"
1314
],
14-
"extra": {
15-
"branch-alias": {
16-
"dev-master": "2.0-dev",
17-
"dev-develop": "2.1-dev"
18-
}
15+
"support": {
16+
"issues": "https://github.com/zendframework/zend-expressive-zendrouter/issues",
17+
"source": "https://github.com/zendframework/zend-expressive-zendrouter",
18+
"rss": "https://github.com/zendframework/zend-expressive-zendrouter/releases.atom",
19+
"slack": "https://zendframework-slack.herokuapp.com",
20+
"forum": "https://discourse.zendframework.com/c/questions/expressive"
1921
},
2022
"require": {
2123
"php": "^5.6 || ^7.0",
2224
"fig/http-message-util": "^1.1.2",
2325
"psr/http-message": "^1.0.1",
2426
"zendframework/zend-expressive-router": "^2.1",
25-
"zendframework/zend-psr7bridge": "^0.2.2",
27+
"zendframework/zend-psr7bridge": "^0.2.2 || ^1.0.0",
2628
"zendframework/zend-router": "^3.0.2"
2729
},
2830
"require-dev": {
2931
"malukenho/docheader": "^0.1.5",
30-
"phpunit/phpunit": "^6.0.8 || ^5.7.15",
32+
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
3133
"zendframework/zend-coding-standard": "~1.0.0",
3234
"zendframework/zend-i18n": "^2.7.3"
3335
},
3436
"autoload": {
35-
"psr-4": {
36-
"Zend\\Expressive\\Router\\": "src/"
37-
}
37+
"psr-4": {
38+
"Zend\\Expressive\\Router\\": "src/"
39+
}
3840
},
3941
"autoload-dev": {
40-
"psr-4": {
41-
"ZendTest\\Expressive\\Router\\": "test/"
42-
}
42+
"psr-4": {
43+
"ZendTest\\Expressive\\Router\\": "test/"
44+
}
45+
},
46+
"config": {
47+
"sort-packages": true
48+
},
49+
"extra": {
50+
"branch-alias": {
51+
"dev-master": "2.1.x-dev",
52+
"dev-develop": "2.2.x-dev"
53+
}
4354
},
4455
"scripts": {
4556
"check": [
4657
"@license-check",
4758
"@cs-check",
4859
"@test"
4960
],
50-
"upload-coverage": "coveralls -v",
51-
"cs-check": "phpcs --colors",
52-
"cs-fix": "phpcbf --colors",
53-
"license-check": "docheader check src/ test/",
61+
"cs-check": "phpcs",
62+
"cs-fix": "phpcbf",
5463
"test": "phpunit --colors=always",
55-
"test-coverage": "phpunit --coverage-clover clover.xml"
64+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
65+
"upload-coverage": "coveralls -v",
66+
"license-check": "docheader check src/ test/"
5667
}
5768
}

0 commit comments

Comments
 (0)