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

PSR-15 support (http-interop/http-server-middleware) + PHP 7.1 #529

Merged
merged 22 commits into from
Dec 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
1bf07dd
PSR-15 support (http-interop/http-server-middleware)
michalbundyra Nov 20, 2017
2451301
Updated Expressive documentation (PSR-15, Expressive 3.0)
michalbundyra Nov 21, 2017
6802182
Updated to stratigility release-3.0.0
michalbundyra Dec 5, 2017
d34af22
Updated to the latest release-3.0.0 stratigility
michalbundyra Dec 5, 2017
d2fa057
Updated composer dependencies: stratigility and expressive-router
michalbundyra Dec 5, 2017
c94f79e
Updated composer - all dependencies to ^3.0.0-dev
michalbundyra Dec 6, 2017
5140f8f
Updated header doclicense URLs to https
michalbundyra Dec 7, 2017
275c75d
Added declare strict types
michalbundyra Dec 7, 2017
3d35462
Use Throwable only
michalbundyra Nov 30, 2017
31775db
Changed to multi exception catch
michalbundyra Nov 30, 2017
de4f873
Null coalescing operator
michalbundyra Dec 4, 2017
e3f1092
Updated to phpspec/prophecy with hotfix
michalbundyra Dec 7, 2017
6778135
Wrapping config-based routing middlewares if needed
michalbundyra Dec 7, 2017
51cbf29
Updated 3.0.0-dev dependencies
michalbundyra Dec 7, 2017
c80058d
Updated route method of Application
michalbundyra Dec 7, 2017
352f074
Updated test: strict types and TypeError exception
michalbundyra Dec 7, 2017
e977db8
Test fix: route requires two params
michalbundyra Dec 7, 2017
aff24e0
Updated integration test - failing on expressive-zendrouter
michalbundyra Dec 7, 2017
eaf145e
Updated composer dependencies - routers
michalbundyra Dec 7, 2017
a631748
Added one more assertion to conform behavior all route bridges
michalbundyra Dec 7, 2017
669b76f
Removed no longer needed tests - Route accepts only MiddlewareInterfa…
michalbundyra Dec 7, 2017
16bb652
Tests fixes
michalbundyra Dec 7, 2017
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
4 changes: 3 additions & 1 deletion .docheader
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/**
* @see https://github.com/zendframework/zend-expressive for the canonical source repository
* @copyright Copyright (c) %regexp:(20\d{2}-)?20\d{2}% Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) %regexp:(20\d{2}-)?20\d{2}% Zend Technologies USA Inc. (https://www.zend.com)
* @license https://github.com/zendframework/zend-expressive/blob/master/LICENSE.md New BSD License
*/

declare(strict_types=1);
31 changes: 4 additions & 27 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,17 @@ env:
global:
- COMPOSER_ARGS="--no-interaction"
- COVERAGE_DEPS="satooshi/php-coveralls"
- LEGACY_DEPS="phpunit/phpunit"

matrix:
include:
- php: 5.6
env:
- DEPS=lowest
- php: 5.6
env:
- DEPS=locked
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 5.6
env:
- DEPS=latest
- php: 7
env:
- DEPS=lowest
- php: 7
env:
- DEPS=locked
- php: 7
env:
- DEPS=latest
- php: 7.1
env:
- DEPS=lowest
- php: 7.1
env:
- DEPS=locked
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 7.1
env:
- DEPS=latest
Expand All @@ -52,16 +33,12 @@ 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
- travis_retry composer self-update
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi

install:
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
- travis_retry composer install $COMPOSER_ARGS
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
Expand Down
4 changes: 3 additions & 1 deletion bin/expressive-tooling
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
* Script for migrating configuration-driven pipelines/routes to programmatic usage.
*
* @see https://github.com/zendframework/zend-expressive for the canonical source repository
* @copyright Copyright (c) 2016 Zend Technologies USA Inc. (http://www.zend.com)
* @copyright Copyright (c) 2016-2017 Zend Technologies USA Inc. (https://www.zend.com)
* @license https://github.com/zendframework/zend-expressive/blob/master/LICENSE.md New BSD License
*/

declare(strict_types=1);

namespace Zend\Expressive;

if (false === ($paths = getenv('PATH'))) {
Expand Down
30 changes: 15 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "zendframework/zend-expressive",
"description": "PSR-7 Middleware Microframework based on Stratigility",
"homepage": "https://docs.zendframework.com/zend-expressive/",
"type": "library",
"license": "BSD-3-Clause",
"keywords": [
"http",
"middleware",
"psr",
"psr-7",
"psr-11"
"psr-11",
"expressive",
"zf",
"zendframework"
],
"support": {
"docs": "https://docs.zendframework.com/zend-expressive/",
Expand All @@ -28,27 +29,26 @@
"sort-packages": true
},
"require": {
"php": "^5.6 || ^7.0",
"php": "^7.1",
"fig/http-message-util": "^1.1.2",
"http-interop/http-middleware": "^0.4.1",
"http-interop/http-server-middleware": "^1.0.1",
"psr/container": "^1.0",
"psr/http-message": "^1.0.1",
"webimpress/http-middleware-compatibility": "^0.1.1",
"zendframework/zend-diactoros": "^1.3.10",
"zendframework/zend-expressive-router": "^2.2",
"zendframework/zend-expressive-router": "^3.0.0-dev",
"zendframework/zend-expressive-template": "^1.0.4",
"zendframework/zend-stratigility": "^2.1"
"zendframework/zend-stratigility": "^3.0.0-dev"
},
"require-dev": {
"filp/whoops": "^2.1.6 || ^1.1.10",
"malukenho/docheader": "^0.1.5",
"filp/whoops": "^1.1.10 || ^2.1.13",
"malukenho/docheader": "^0.1.6",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^5.7.22 || ^6.4.1",
"phpunit/phpunit": "^6.5.3",
"zendframework/zend-coding-standard": "~1.0.0",
"zendframework/zend-expressive-aurarouter": "^2.0",
"zendframework/zend-expressive-fastroute": "^2.0",
"zendframework/zend-expressive-zendrouter": "^2.0.1",
"zendframework/zend-servicemanager": "^3.3 || ^2.7.8"
"zendframework/zend-expressive-aurarouter": "^3.0.0-dev",
"zendframework/zend-expressive-fastroute": "^3.0.0-dev",
"zendframework/zend-expressive-zendrouter": "^3.0.0-dev",
"zendframework/zend-servicemanager": "^2.7.8 || ^3.3"
},
"conflict": {
"container-interop/container-interop": "<1.2.0"
Expand Down
Loading