1
0
mirror of https://github.com/flarum/core.git synced 2025-08-28 10:30:54 +02:00

Update to Zend Stratigility 1.3

* Fix dependency version constraint. (Reverts #1066.)
* Allow exceptions to be raised when dispatching middleware.
* Fix our error handler middleware (do not implement Stratigility's
  error handler interface, catch exceptions instead).

See https://docs.zendframework.com/zend-stratigility/migration/to-v2/.

Closes #1069.
This commit is contained in:
Franz Liedke
2017-01-02 22:54:55 +01:00
parent ec8ae6e03b
commit b5b18dd436
7 changed files with 47 additions and 15 deletions

View File

@@ -53,7 +53,7 @@
"s9e/text-formatter": "^0.8.1",
"tobscure/json-api": "^0.3.0",
"zendframework/zend-diactoros": "^1.1",
"zendframework/zend-stratigility": "1.2.*"
"zendframework/zend-stratigility": "^1.3"
},
"require-dev": {
"mockery/mockery": "^0.9.4",