This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
Provide forward compatibility with v3 where functionality is broken #79
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates zend-view to be forwards compatible with zend-mvc v3.
UrlHelper
The UrlHelper tests were previously using typehints against the zend-mvc v2 router in some locations. This patch provides updates to the test to detect which router version is present, as well as which route classes, so it can test correctly across both router versions.
Navigation helpers
The navigation helper tests were:
They have been updated to resolve this, and now pass against both versions.
FlashMessenger
Updates the FlashMessenger to be forwards compatible with zendframework/zend-mvc-plugin-flashmessenger, while retaining compatibility with zend-mvc 2.7. This required:
This PR supercedes #78.