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

Rewrite for PSR-7 #259

Closed
wants to merge 51 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
9769387
Move Service namespace to Container namespace
Xerkus Jan 5, 2018
a30d415
Bump minimum php to 7.1
Xerkus Jan 12, 2018
29cd500
Update composer dependencies
Xerkus Jan 12, 2018
d44bb5f
Update travis and phpunit config
Xerkus Jan 12, 2018
1c8fa9e
Enable strict types
Xerkus Sep 8, 2017
518c9ac
Fix phpstan complaints
Xerkus Sep 9, 2017
9ae938b
Update composer deps
Xerkus Oct 10, 2017
a5159fd
Remove on rebase. Point zend-router to modified fork
Xerkus Oct 15, 2017
7d7c395
Drop module route listener
Xerkus Oct 15, 2017
0217272
Drop response sender in favor of diactoros emitter
Xerkus Sep 11, 2017
8cdad43
Refactor MvcEvent, drop RouteMatch
Xerkus Nov 25, 2017
23dccdb
Drop zend-http and psr-7 bridge
Xerkus Nov 25, 2017
d3af86e
Initial PSR-7 refactoring for view stuff
Xerkus Nov 25, 2017
4cb4676
Initial PSR-7 refactoring for controllers and plugins
Xerkus Nov 26, 2017
ec0a675
Drop request and response factories
Xerkus Nov 26, 2017
da30103
Initial PSR-7 refactoring for dispatch listener
Xerkus Nov 30, 2017
0799603
Initial PSR-7 refactoring for http method listener
Xerkus Nov 30, 2017
fab24c3
Initial PSR-7 refactoring for middleware listener
Xerkus Nov 30, 2017
d214751
Initial PSR-7 refactoring for Application
Xerkus Dec 2, 2017
6c078bf
Add temporary request/response wrappers for view
Xerkus Dec 27, 2017
f12a438
Drop module manager from direct dependencies
Xerkus Dec 27, 2017
8a3e2e7
Drop ModuleManager from Application
Xerkus Dec 28, 2017
5967c6a
Drop ModuleManager factory
Xerkus Dec 28, 2017
0ada10a
Add new Application factory
Xerkus Dec 27, 2017
0c0e845
Drop config factory
Xerkus Dec 28, 2017
44b338b
Drop ServiceListener factory
Xerkus Dec 28, 2017
0f7147b
Drop ServiceManager config
Xerkus Dec 28, 2017
ed68ff4
Drop no longer relevant initialization test
Xerkus Dec 28, 2017
f493963
Add ConfigProvider
Xerkus Dec 28, 2017
335e864
Fix some tests to work with new Application
Xerkus Dec 28, 2017
fe03a8b
Refactor Controller factory to use config
Xerkus Dec 29, 2017
0de36dd
Update ControllerManager and its tests
Xerkus Dec 29, 2017
a76ecf4
Update ControllerPluginManager factory and add tests
Xerkus Dec 29, 2017
9e45700
Update DispatchListener factory and add test
Xerkus Dec 29, 2017
b7e56d4
Update EventManager factory and add test
Xerkus Dec 29, 2017
589d580
Update HttpMethodListener factory and tests
Xerkus Dec 29, 2017
ca7b025
Update ViewManager and add test placeholder
Xerkus Dec 29, 2017
5ebd6a0
Fix minor test failures
Xerkus Dec 29, 2017
e7e9db3
Drop paginator PluginManager from zend-mvc
Xerkus Dec 30, 2017
51bf856
Update remaining factories
Xerkus Dec 30, 2017
c4bfacf
Fix no response handling in RouteNotFoundStrategy
Xerkus Dec 31, 2017
15f6270
Restore previously dropped container factories bits
Xerkus Jan 13, 2018
573964f
Use template for ConfigProviderTest
Xerkus Jan 25, 2018
127b73e
Update interop server handler to psr
Xerkus Jan 26, 2018
ece0378
Require events and response emitter to be constructor injected
Xerkus Jan 26, 2018
f9bad41
Add mutation tester config
Xerkus Jan 26, 2018
28a9eec
Mark integration tests as covering nothing and delete dead test code
Xerkus Jan 26, 2018
ee4d66e
Update MiddlewareListener for stratigility v3
Xerkus Feb 8, 2018
6ccf60c
Add http handler runner
Xerkus Feb 8, 2018
99a2bf1
Drop run() and response emitter from application
Xerkus Feb 8, 2018
bf93aa5
Drop getConfig() from Application
Xerkus Feb 8, 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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/.travis.yml export-ignore
/composer.lock export-ignore
/docs/ export-ignore
/infection.json.dist export-ignore
/mkdocs.yml export-ignore
/phpcs.xml export-ignore
/phpunit.xml.dist export-ignore
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/clover.xml
/coveralls-upload.json
/docs/html/
/infection-log.txt
/infection.json
/phpunit.xml
/vendor/
/zf-mkdoc-theme.tgz
Expand Down
23 changes: 1 addition & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,6 @@ env:

matrix:
include:
- php: 5.6
env:
- DEPS=lowest
- php: 5.6
env:
- DEPS=locked
- LEGACY_DEPS="phpunit/phpunit"
- php: 5.6
env:
- DEPS=latest
- php: 7
env:
- DEPS=lowest
- php: 7
env:
- DEPS=locked
- LEGACY_DEPS="phpunit/phpunit"
- php: 7
env:
- DEPS=latest
- php: 7.1
env:
- DEPS=lowest
Expand All @@ -58,8 +38,7 @@ before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi

install:
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
- if [[ $LEGACY_DEPS != '' ]]; 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
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2005-2017, Zend Technologies USA, Inc.
Copyright (c) 2005-2018, Zend Technologies USA, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
29 changes: 19 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,33 @@
"slack": "https://zendframework-slack.herokuapp.com",
"forum": "https://discourse.zendframework.com/c/questions/components"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Xerkus/zend-router.git"
}
],
"require": {
"php": "^7.1",
"container-interop/container-interop": "^1.2",
"php": "^5.6 || ^7.0",
"fig/http-message-util": "^1.1",
"psr/container": "^1.0",
"psr/http-message": "^1.0",
"psr/http-server-handler": "^1.0",
"zendframework/zend-diactoros": "^1.7",
"zendframework/zend-eventmanager": "^3.2",
"zendframework/zend-http": "^2.7",
"zendframework/zend-modulemanager": "^2.8",
"zendframework/zend-router": "^3.0.2",
"zendframework/zend-httphandlerrunner": "^1.0",
"zendframework/zend-router": "dev-make-mvc-great-again",
"zendframework/zend-servicemanager": "^3.3",
"zendframework/zend-stdlib": "^3.1",
"zendframework/zend-view": "^2.9"
"zendframework/zend-view": "^2.10"
},
"require-dev": {
"http-interop/http-middleware": "^0.4.1",
"phpunit/phpunit": "^6.4.4 || ^5.7.14",
"phpunit/phpunit": "^7.0",
"zendframework/zend-coding-standard": "~1.0.0",
"zendframework/zend-json": "^2.6.1 || ^3.0",
"zendframework/zend-psr7bridge": "^1.0",
"zendframework/zend-stratigility": "^2.0.1"
"zendframework/zend-json": "^3.0",
"zendframework/zend-stratigility": "3.0.0-alpha3",
"zendframework/zend-validator": "^2.10"
},
"suggest": {
"zendframework/zend-json": "(^2.6.1 || ^3.0) To auto-deserialize JSON body content in AbstractRestfulController extensions, when json_decode is unavailable",
Expand Down
Loading