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

Commit b00fd16

Browse files
committed
Merging develop to master in preparation for 2.8.0 release
2 parents f14d991 + 21dda46 commit b00fd16

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2618
-306
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 & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +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-
zf-mkdoc-theme/
12-
13-
clover.xml
14-
composer.lock
15-
coveralls-upload.json
16-
phpunit.xml
17-
vendor
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: 23 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,92 +2,75 @@ sudo: false
22

33
language: php
44

5-
branches:
6-
except:
7-
- /^release-.*$/
8-
- /^ghgfk-.*$/
9-
105
cache:
116
directories:
127
- $HOME/.composer/cache
13-
- $HOME/.local
14-
- zf-mkdoc-theme
158

169
env:
1710
global:
1811
- COMPOSER_ARGS="--no-interaction"
19-
- COVERAGE_DEPS="satooshi/php-coveralls"
20-
- CRYPT_DEPS="zendframework/zend-crypt:^3.0"
21-
- LEGACY_DEPS="phpunit/phpunit"
22-
- SITE_URL: https://zendframework.github.io/zend-filter
23-
- GH_USER_NAME: "Matthew Weier O'Phinney"
24-
- GH_USER_EMAIL: matthew@weierophinney.net
25-
- GH_REF: github.com/zendframework/zend-filter.git
26-
- secure: "ciAQTsLfrenD7WuLrZb0mzeqYj0JfxIGDleAH6iI0fopm+HrSyitr9aDlZzc1UsWx+9CCkajuV4bmXCarCTSGOAQ8U7NqSujKawyWRWO3M/yN2gCTBeZyZcGaj/GgnOHX2AgNibdpe1ZNaNlAKEd0s1F016SoEYMdN9JuzbSRAfP17VVQ87IAm8LegPJdJrMz7reLW7khl+YXEnYiEdW4hNmMMcN1apGfxlQ/X3dXTt3GIX5F6i14dfGzQqkwFFMBJAkJ6zUXj+mmOWimVXJ8mfSINBwIATM9QWLtgQoDvwUUXNEePk6Lrncc+O83T3dG+SMlmC3loTnMtyzutm9m9Rmo0gAXhzefmiVj8uK6QZMgXcu3MZjKW5GDVHSeGK/BOGagpIm6DvPRluDRDviPYk5uTUdKrrDDlZZ1jQZqqzLE/pyyJPKQ3T7ao1QZWjZ0skj0zy97Qjmx/HP5dsBMIz/WgBkoovKsMvhINZw0CIqv0veOGKNkdjesmQapcJGNLZ3df7DuFWU328QbfeIpptceuhhry32DeAz1i4zdNLD92hPGhjVmKjpwdS0GuOUAIeiK8rfFu6lQ74Kcu7pRdS8hkuqGYamrz8msNZsEc909um4TVPUdzd4aQcepghYboUpVlwNzopPK06Fx1wYMbwTzQzM7jS7YBX+FckPJJc="
12+
- COVERAGE_DEPS="php-coveralls/php-coveralls"
2713

2814
matrix:
2915
include:
3016
- php: 5.6
3117
env:
3218
- DEPS=lowest
19+
- php: 5.6
20+
env:
21+
- DEPS=locked
22+
- LEGACY_DEPS="phpunit/phpunit"
3323
- php: 5.6
3424
env:
3525
- DEPS=latest
36-
- TEST_COVERAGE=true
37-
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
38-
- PATH="$HOME/.local/bin:$PATH"
3926
- php: 7
4027
env:
4128
- DEPS=lowest
29+
- php: 7
30+
env:
31+
- DEPS=locked
32+
- LEGACY_DEPS="phpunit/phpunit"
4233
- php: 7
4334
env:
4435
- DEPS=latest
45-
- CS_CHECK=true
4636
- php: 7.1
4737
env:
4838
- DEPS=lowest
39+
- php: 7.1
40+
env:
41+
- DEPS=locked
42+
- CS_CHECK=true
43+
- TEST_COVERAGE=true
4944
- php: 7.1
5045
env:
5146
- DEPS=latest
52-
- php: hhvm
47+
- php: 7.2
5348
env:
5449
- DEPS=lowest
55-
- php: hhvm
50+
- php: 7.2
51+
env:
52+
- DEPS=locked
53+
- php: 7.2
5654
env:
5755
- DEPS=latest
58-
allow_failures:
59-
- php: hhvm
6056

6157
before_install:
62-
- travis_retry composer self-update
63-
- if [[ $TRAVIS_PHP_VERSION != "hhvm" && $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini ; fi
64-
- composer validate
58+
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
6559

6660
install:
6761
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
68-
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
69-
- if [[ $TRAVIS_PHP_VERSION =~ ^7.1 ]]; then travis_retry composer require $COMPOSER_ARGS --update-with-dependencies $CRYPT_DEPS ; fi
62+
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
7063
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
7164
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
7265
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
73-
- stty cols 120
74-
- COLUMNS=120 composer show
66+
- stty cols 120 && composer show
7567

7668
script:
7769
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
7870
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
79-
- 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
80-
81-
after_success:
82-
- if [[ $DEPLOY_DOCS == "true" ]]; then echo "Preparing to build and deploy documentation" ; ./zf-mkdoc-theme/deploy.sh ; echo "Completed deploying documentation" ; fi
8371

8472
after_script:
85-
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi
73+
- if [[ $TEST_COVERAGE == 'true' ]]; then vendor/bin/php-coveralls -v ; fi
8674

8775
notifications:
8876
email: false
89-
slack:
90-
rooms:
91-
- secure: "N9n2yGM73arOVGnQ45sCT/Y1sbrQd6E8PGj9IJvqj5OJDoUU88cPmtjssM+LO6UoZb6hzYJCkhV+PmasxzQw++iluyTGJk0KUEfQMIACsyewogXcFKoH5/s9M9PrdPqgmewK3AS3HyeD+hDqmZtfjGx75Je03C0idyZ4r/uvd+7l/m+6naIS4a8zwHd0Um6Y5MstLdieAKxyfHRaxvJf34UN1S2wxbIczsg75FzKYCCK34p6bvzje8w+jkdKbFVsPngxlScGdDvlfeNGl1DuC+RO7UFPwS1g9RxDFavy+XpC4uwSXTsmbzs8IkLErtilK36OSCPXRUrwtVN6NjlbAVZclKGersf0fks0eLHfEKsVEM5RozxzusHN3z/iG9ZIv/qHRSwf9cOpi2NrvfAWjzs/jJTCwDgOXEMgFsO3ROY1EA5X9z7QSNzjLi7rPf63gOpZL+dHEI0Tg5Xmec+xrRNH4Sq2mt6TknEhr8AMSA9qti2PO/dbvcyc99qj02rkWbHNCAqPGa77FMB1+Il95hE6Qzrxa7yU1aU5pJKX9OSZq+XuC9khynibL7X9ji55IZnc+DeGyi5QVLvlpSWNuwWONib41h+8DL+bqmUsxFytAQRIKTKfeDm7VbLBGgQMEsr8HMZZj3D9P5Hkys4EWTVVwiliW14/ctyFM9xO/cg="
92-
on_success: change
93-
on_failure: always

CHANGELOG.md

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

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

5+
## 2.8.0 - TBD
6+
7+
### Added
8+
9+
- [#26](https://github.com/zendframework/zend-filter/pull/26) adds the interface
10+
`Zend\Filter\FilterProviderInterface`, which can be used to provide
11+
configuration for the `FilterPluginManager` via zend-mvc `Module` classes.
12+
13+
- [#61](https://github.com/zendframework/zend-filter/pull/61) adds support for
14+
PHP 7.2.
15+
16+
### Deprecated
17+
18+
- Nothing.
19+
20+
### Removed
21+
22+
- [#61](https://github.com/zendframework/zend-filter/pull/61) removes support
23+
for PHP 5.5.
24+
25+
- [#61](https://github.com/zendframework/zend-filter/pull/61) removes support
26+
for HHVM.
27+
28+
- [#61](https://github.com/zendframework/zend-filter/pull/61) removes support
29+
for zend-crypt versions prior to 3.0. This was done as PHP deprecated the
30+
mcrypt extension starting in PHP 7.1, and does not ship it by default
31+
starting in PHP 7.2. zend-crypt 3.0 adds an OpenSSL adapter for its
32+
BlockCipher capabilities, and acts as a polyfill for mcrypt usage. Since this
33+
functionality has been used by default since 2.7.2, users should be able to
34+
upgrade seamlessly.
35+
36+
### Fixed
37+
38+
- Nothing.
39+
540
## 2.7.3 - TBD
641

742
### Added

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-filter
22

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

66
The `Zend\Filter` component provides a set of commonly needed data filters. It
77
also provides a simple filter chaining mechanism by which multiple filters may
88
be applied to a single datum in a user-defined order.
99

1010

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

composer.json

Lines changed: 36 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,50 +3,62 @@
33
"description": "provides a set of commonly needed data filters",
44
"license": "BSD-3-Clause",
55
"keywords": [
6-
"zf2",
6+
"zf",
7+
"zendframework",
78
"filter"
89
],
9-
"homepage": "https://github.com/zendframework/zend-filter",
10-
"autoload": {
11-
"psr-4": {
12-
"Zend\\Filter\\": "src/"
13-
}
10+
"support": {
11+
"docs": "https://docs.zendframework.com/zend-filter/",
12+
"issues": "https://github.com/zendframework/zend-filter/issues",
13+
"source": "https://github.com/zendframework/zend-filter",
14+
"rss": "https://github.com/zendframework/zend-filter/releases.atom",
15+
"slack": "https://zendframework-slack.herokuapp.com",
16+
"forum": "https://discourse.zendframework.com/c/questions/components"
1417
},
1518
"require": {
16-
"php": "^5.5 || ^7.0",
17-
"zendframework/zend-stdlib": "^2.7 || ^3.0"
19+
"php": "^5.6 || ^7.0",
20+
"zendframework/zend-stdlib": "^2.7.7 || ^3.1"
1821
},
1922
"require-dev": {
20-
"pear/archive_tar": "^1.4",
21-
"zendframework/zend-crypt": "^2.6 || ^3.0",
22-
"zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3",
23-
"zendframework/zend-uri": "^2.5",
24-
"phpunit/PHPUnit": "^6.0.10 || ^5.7.17",
25-
"zendframework/zend-coding-standard": "~1.0.0"
23+
"pear/archive_tar": "^1.4.3",
24+
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
25+
"zendframework/zend-coding-standard": "~1.0.0",
26+
"zendframework/zend-crypt": "^3.2.1",
27+
"zendframework/zend-servicemanager": "^2.7.8 || ^3.3",
28+
"zendframework/zend-uri": "^2.6"
2629
},
2730
"suggest": {
2831
"zendframework/zend-crypt": "Zend\\Crypt component, for encryption filters",
2932
"zendframework/zend-i18n": "Zend\\I18n component for filters depending on i18n functionality",
3033
"zendframework/zend-servicemanager": "Zend\\ServiceManager component, for using the filter chain functionality",
3134
"zendframework/zend-uri": "Zend\\Uri component, for the UriNormalize filter"
3235
},
33-
"minimum-stability": "dev",
34-
"prefer-stable": true,
36+
"conflict": {
37+
"zendframework/zend-validator": "<2.10.1"
38+
},
39+
"autoload": {
40+
"psr-4": {
41+
"Zend\\Filter\\": "src/"
42+
}
43+
},
44+
"autoload-dev": {
45+
"psr-4": {
46+
"ZendTest\\Filter\\": "test/"
47+
}
48+
},
49+
"config": {
50+
"sort-packages": true
51+
},
3552
"extra": {
3653
"branch-alias": {
37-
"dev-master": "2.7-dev",
38-
"dev-develop": "2.8-dev"
54+
"dev-master": "2.7.x-dev",
55+
"dev-develop": "2.8.x-dev"
3956
},
4057
"zf": {
4158
"component": "Zend\\Filter",
4259
"config-provider": "Zend\\Filter\\ConfigProvider"
4360
}
4461
},
45-
"autoload-dev": {
46-
"psr-4": {
47-
"ZendTest\\Filter\\": "test/"
48-
}
49-
},
5062
"scripts": {
5163
"check": [
5264
"@cs-check",
@@ -55,7 +67,6 @@
5567
"cs-check": "phpcs",
5668
"cs-fix": "phpcbf",
5769
"test": "phpunit --colors=always",
58-
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
59-
"upload-coverage": "coveralls -v"
70+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
6071
}
6172
}

0 commit comments

Comments
 (0)