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

Description
Not sure if this is something that can/will be worked out in the 1.0.x series.
Setup:
expressive 1.0.5
stratigility 1.3.1
Procedural configuration with raiseThrowables()
Using ErrorHandler-style catching - no ErrorMiddleware
If I have a request that hits Application.php:423, it returns a $next($request, $response, 405); which in Next.php will display the deprecation notice. This is the stacktrace from the point of failure:
"/blah/vendor/zendframework/zend-stratigility/src/Next.php:435",
"/blah/vendor/zendframework/zend-stratigility/src/Next.php:422",
"/blah/vendor/zendframework/zend-stratigility/src/Next.php:119",
"/blah/vendor/zendframework/zend-expressive/src/Application.php:426",
The code for 1.1.x is checking against $this->raiseThrowables. Not sure this could be backported without breaking those who are using stratigility 1.2.x.