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

Deprecations and backports for 2.2.0 release #140

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a5b6608
Marks deprecated classes
weierophinney Jan 10, 2018
f8d2edd
Backports middleware decorators from zendframework/zend-stratigility#134
weierophinney Jan 11, 2018
24103f8
Deprecates path segregation via MiddlewarePipe::pipe()
weierophinney Jan 11, 2018
f52d885
Trigger deprecation notices when piping callable middleware
weierophinney Jan 11, 2018
a6f43cc
Mark additional deprecated methods
weierophinney Jan 11, 2018
219f364
Updates documentation to reflect current standards
weierophinney Jan 15, 2018
c3d1fc4
Backports the utility functions from the release-3.0.0 branch
weierophinney Jan 15, 2018
f0ff0ff
Ensure all new code is compatible with PHP versions supported in v2
weierophinney Jan 16, 2018
810448a
Ensure the path() function accepts the middleware interface polyfill
weierophinney Jan 16, 2018
662c581
Updates copyright ranges for all class/function files
weierophinney Jan 16, 2018
3e2342c
Incorporates feedback
weierophinney Jan 16, 2018
24220db
Add more legacy deps to Travis builds
weierophinney Jan 16, 2018
6cc234b
Fixes docheaders on new files to follow template
weierophinney Jan 16, 2018
33b8c9d
Require PHP 7.2 to pass
weierophinney Jan 16, 2018
0f641e9
Fix how coverage reports are uploaded
weierophinney Jan 16, 2018
04659bd
Use strict comparisons for in_array
weierophinney Jan 16, 2018
9f14eb5
Adds tests for CallableDelegateDecorator
weierophinney Jan 17, 2018
b3f6ada
Mark more method deprecations in Next
weierophinney Jan 17, 2018
e3711a6
Improve test coverage
weierophinney Jan 17, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cache:
env:
global:
- COMPOSER_ARGS="--no-interaction --no-plugins"
- COVERAGE_DEPS="satooshi/php-coveralls"
- COVERAGE_DEPS="php-coveralls/php-coveralls"

matrix:
include:
Expand All @@ -18,7 +18,7 @@ matrix:
- DEPS=lowest
- php: 5.6
env:
- LEGACY_DEPS="phpunit/phpunit"
- LEGACY_DEPS="phpunit/phpunit malukenho/docheader"
- DEPS=locked
- php: 5.6
env:
Expand All @@ -29,7 +29,7 @@ matrix:
- php: 7
env:
- DEPS=locked
- LEGACY_DEPS="doctrine/instantiator"
- LEGACY_DEPS="doctrine/instantiator malukenho/docheader"
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 7
Expand All @@ -53,8 +53,6 @@ matrix:
- php: 7.2
env:
- DEPS=latest
allow_failures:
- php: 7.2

before_install:
- if [[ $TEST_COVERAGE != 'true' && "$(php --version | grep xdebug -ci)" -ge 1 ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
Expand All @@ -74,7 +72,7 @@ script:
- if [[ $CS_CHECK == 'true' ]]; then composer license-check ; fi

after_script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v ; fi

notifications:
email: false
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"require": {
"php": "^5.6 || ^7.0",
"psr/http-message": "^1.0",
"webimpress/http-middleware-compatibility": "^0.1.3",
"webimpress/http-middleware-compatibility": "^0.1.4",
"zendframework/zend-escaper": "^2.3"
},
"require-dev": {
Expand All @@ -45,6 +45,11 @@
"psr/http-message-implementation": "Please install a psr/http-message-implementation to consume Stratigility; e.g., zendframework/zend-diactoros"
},
"autoload": {
"files": [
"src/functions/double-pass-middleware.php",
"src/functions/middleware.php",
"src/functions/path.php"
],
"psr-4": {
"Zend\\Stratigility\\": "src/"
}
Expand All @@ -64,7 +69,6 @@
"cs-fix": "phpcbf",
"license-check": "docheader check src/ test/",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
"upload-coverage": "coveralls -v"
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
}
}
Loading