This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Router rewrite for PSR-7 #40
Open
Xerkus
wants to merge
47
commits into
zendframework:develop
Choose a base branch
from
Xerkus:make-mvc-great-again
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
cbc7fc8
Bump minimum php to 7.1
Xerkus eecaa4f
Add strict types declaration
Xerkus 0fd81c3
Remove unneeded composer conflict
Xerkus 055d799
Fix or suppress type errors
Xerkus ec527bf
Bumped to next dev version (4.0.0)
Xerkus 61bf30d
Add CHANGELOG for #44
Xerkus d00b9d4
Be strict about unintentional coverage
Xerkus db83d16
Drop zend-http and add diactoros
Xerkus 17c0468
Drop deprecated Wildcard route
Xerkus afa0528
Move TreeRouteStack one namespace up
Xerkus 94408c8
Introduce RouteResult, deprecate RouteMatch
Xerkus 627a9d9
Change RouteInterface to PSR-7
Xerkus 497abca
Route stack refactor stub
Xerkus 1de5477
Drop translator aware route stack
Xerkus 6dce941
Rename Zend\Router\Http namespace to Zend\Router\Route: move files
Xerkus a25f0c5
Rename Zend\Router\Http namespace to Zend\Router\Route
Xerkus 81d4529
Add PartialRouteTrait for common match() implementation
Xerkus 8d80862
Add helper class and traits for route testing
Xerkus b83e9fc
Refactor Literal route for PSR-7
Xerkus 0f7b74f
Refactor Hostname route for PSR-7
Xerkus 880cbc4
Delete child route match
Xerkus 354e5dd
Refactor Method route for PSR-7
Xerkus c2df89b
Refactor Scheme route for PSR-7
Xerkus 0ad59c3
Refactor Segment route for PSR-7
Xerkus 5721438
Refactor Regex route for PSR-7
Xerkus 1e31a6f
Update PartialRouteResult and add allowed methods for successful match
Xerkus 296764a
Make Method route provide allowed methods on match
Xerkus 5855c61
Refactor Part route for PSR-7
Xerkus a5e4f70
Refactor Chain route for PSR-7
Xerkus e4a8cc7
Remove now redundant HttpRouterFactory
Xerkus 01e3aad
Add route definitions to RoutePluginManager and update factory
Xerkus 6b16272
Initial implementation for route config factory
Xerkus e0561e7
Move chain workaround to chain route factory
Xerkus 94b1a5d
Add psr container to direct dependencies
Xerkus 4ce4729
Remove prototypes from factory and accept as extra parameter instead
Xerkus 1b52b4b
Add Router class and its factory
Xerkus d2634f9
Reintroduce TranslatorAwareRouteStackDecorator inplace of dropped tre…
Xerkus 8196c4e
Drop unused RouterFactory
Xerkus af430fd
Improve tests for route plugin manager factory
Xerkus f2aa83c
Increment assertion count for test not doing assertions by intention
Xerkus 2c2bad5
Remove service manager v2 support in RouteInvokableFactory
Xerkus d11ff0f
Remove unused test assets
Xerkus 7c95e06
Comment out and keep test for ambiguous use case having less desired …
Xerkus c342542
Remove obsolete RouterConfigTrait
Xerkus 14a1b51
Apply cs fixes
Xerkus f889b95
Update copyright headers
Xerkus 08f6307
Add RouteConfigFactory factory
Xerkus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can use psr/container (PSR-11), or we need first SMv4?