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

Commit dd94c86

Browse files
committed
Merge branch 'hotfix/25-php-7.2.-support' into develop
Forward port #25 Forward port #23 Conflicts: CHANGELOG.md
2 parents 5077352 + 586de39 commit dd94c86

35 files changed

+248
-299
lines changed

.gitattributes

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
/test export-ignore
2-
/vendor export-ignore
3-
.coveralls.yml export-ignore
4-
.gitattributes export-ignore
5-
.gitignore export-ignore
6-
.travis.yml export-ignore
7-
.php_cs 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 & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
.buildpath
2-
.DS_Store
3-
.idea
4-
.project
5-
.settings/
6-
.*.sw*
7-
.*.un~
8-
nbproject
9-
doc/html/
10-
tmp/
11-
vendor/
12-
zf-mkdoc-theme/
13-
14-
clover.xml
15-
coveralls-upload.json
16-
phpunit.xml
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: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ matrix:
2323
- php: 5.6
2424
env:
2525
- DEPS=latest
26-
- TEST_COVERAGE=true
2726
- php: 7
2827
env:
2928
- DEPS=lowest
3029
- php: 7
3130
env:
3231
- DEPS=locked
33-
- CHECK_CS=true
32+
- LEGACY_DEPS="phpunit/phpunit"
3433
- php: 7
3534
env:
3635
- DEPS=latest
@@ -40,15 +39,23 @@ matrix:
4039
- php: 7.1
4140
env:
4241
- DEPS=locked
42+
- CS_CHECK=true
43+
- TEST_COVERAGE=true
4344
- php: 7.1
4445
env:
4546
- DEPS=latest
46-
47-
notifications:
48-
email: false
47+
- php: 7.2
48+
env:
49+
- DEPS=lowest
50+
- php: 7.2
51+
env:
52+
- DEPS=locked
53+
- php: 7.2
54+
env:
55+
- DEPS=latest
4956

5057
before_install:
51-
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini ; fi
58+
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
5259

5360
install:
5461
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
@@ -59,9 +66,11 @@ install:
5966
- stty cols 120 && composer show
6067

6168
script:
62-
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; fi
63-
- if [[ $TEST_COVERAGE != 'true' ]]; then composer test ; fi
64-
- if [[ $CHECK_CS == 'true' ]]; then composer cs-check ; fi
69+
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
70+
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
6571

6672
after_script:
67-
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php ./vendor/bin/php-coveralls ; fi
73+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v ; fi
74+
75+
notifications:
76+
email: false

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,16 @@ All notable changes to this project will be documented in this file, in reverse
2424

2525
- Nothing.
2626

27-
## 2.6.1 - TBD
27+
## 2.6.1 - 2018-04-30
2828

2929
### Added
3030

3131
- Nothing.
3232

3333
### Changed
3434

35-
- Nothing.
35+
- [#23](https://github.com/zendframework/zend-uri/pull/23) updates the zend-validator dependency to the 2.10 series, in order to ensure that
36+
this package can run under PHP 7.2.
3637

3738
### Deprecated
3839

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,12 +1,12 @@
11
# zend-uri
22

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

66
zend-uri aids in manipulating and validating Uniform Resource Identifiers
77
([URIs](http://www.ietf.org/rfc/rfc3986.txt)). zend-uri exists primarily to
88
assist other components, such as zend-http, but is also useful as a standalone
99
utility.
1010

1111
- File issues at https://github.com/zendframework/zend-uri/issues
12-
- Documentation is at https://zendframework.github.io/zend-uri/
12+
- Documentation is at https://docs.zendframework.com/zend-uri/

composer.json

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,47 @@
11
{
22
"name": "zendframework/zend-uri",
3-
"description": "a component that aids in manipulating and validating \u00bb Uniform Resource Identifiers (URIs)",
3+
"description": "A component that aids in manipulating and validating \u00bb Uniform Resource Identifiers (URIs)",
44
"license": "BSD-3-Clause",
55
"keywords": [
6-
"zf2",
6+
"zf",
7+
"zendframework",
78
"uri"
89
],
9-
"homepage": "https://github.com/zendframework/zend-uri",
10-
"autoload": {
11-
"psr-4": {
12-
"Zend\\Uri\\": "src/"
13-
}
10+
"support": {
11+
"docs": "https://docs.zendframework.com/zend-uri/",
12+
"issues": "https://github.com/zendframework/zend-uri/issues",
13+
"source": "https://github.com/zendframework/zend-uri",
14+
"rss": "https://github.com/zendframework/zend-uri/releases.atom",
15+
"chat": "https://zendframework-slack.herokuapp.com",
16+
"forum": "https://discourse.zendframework.com/c/questions/components"
1417
},
1518
"require": {
1619
"php": "^5.6 || ^7.0",
1720
"zendframework/zend-escaper": "^2.5",
18-
"zendframework/zend-validator": "^2.5"
21+
"zendframework/zend-validator": "^2.10"
1922
},
20-
"extra": {
21-
"branch-alias": {
22-
"dev-master": "2.6.x-dev",
23-
"dev-develop": "2.7.x-dev"
23+
"require-dev": {
24+
"phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.4",
25+
"zendframework/zend-coding-standard": "~1.0.0"
26+
},
27+
"autoload": {
28+
"psr-4": {
29+
"Zend\\Uri\\": "src/"
2430
}
2531
},
2632
"autoload-dev": {
2733
"psr-4": {
2834
"ZendTest\\Uri\\": "test/"
2935
}
3036
},
31-
"require-dev": {
32-
"phpunit/phpunit": "^6.2.1 || ^5.7.15",
33-
"zendframework/zend-coding-standard": "~1.0.0"
37+
"config": {
38+
"sort-packages": true
39+
},
40+
"extra": {
41+
"branch-alias": {
42+
"dev-master": "2.6.x-dev",
43+
"dev-develop": "2.7.x-dev"
44+
}
3445
},
3546
"scripts": {
3647
"check": [

composer.lock

Lines changed: 27 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CONDUCT.md renamed to docs/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributor Code of Conduct
22

3-
The Zend Framework project adheres to [The Code Manifesto](http://codemanifesto.com)
3+
This project adheres to [The Code Manifesto](http://codemanifesto.com)
44
as its guidelines for contributor interactions.
55

66
## The Code Manifesto

0 commit comments

Comments
 (0)