Description
Work in progress
Goal of the rewrite is to switch component to the native support of PSR-7.
Console routing and http request routing are too different. Common interface proved to be limiting and of little practical value: routes were not shared between the two and consumers had to accept one and outright reject another in most cases.
Next implementation of zend-mvc will be PSR-7 based as well and zend-mvc-console will be dropped.
For that reason, support for Zend\Http\RequestInterface
will be dropped as too incompatible with PSR-7 and support for the non-http routing with Zend\Stdlib\RequestInterface
will not be retained as impractical.
Effectively that will make zend-router a PSR-7 only router.
Also, this PR bumps minimum php to 7.1, introduces strict types, scalar and return typehinting
Note: this PR is a subject for rebases and commit squashes. Ask before using as a basis for your work.
Originally posted by @Xerkus at zendframework/zend-router#40