Closed TysonAndre closed 6 years ago
This check was always false. The old check was searching for \Zend\Mvc\Console\Service\RouteMatch, which doesn't exist.
\Zend\Mvc\Console\Service\RouteMatch
setRouteMatch accepts \Zend\Router\RouteMatch or the legacy subclass:
\Zend\Router\RouteMatch
The possibilities (From the Zend\View\Helper\Url code):
// MVC router extends RouteMatch. use Zend\Mvc\Router\RouteMatch as LegacyRouteMatch; use Zend\Router\RouteMatch;
Note: There were no unit tests of this case. Existing unit tests pass.
Still requires a test case addition
I've added a unit test at this time.
This check was always false. The old check was searching for
\Zend\Mvc\Console\Service\RouteMatch
, which doesn't exist.setRouteMatch accepts
\Zend\Router\RouteMatch
or the legacy subclass:The possibilities (From the Zend\View\Helper\Url code):
Note: There were no unit tests of this case. Existing unit tests pass.