Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor matcher #117

Merged
merged 10 commits into from Aug 18, 2021
Merged

Refactor matcher #117

merged 10 commits into from Aug 18, 2021

Conversation

rustamwin
Copy link
Member

@rustamwin rustamwin commented Aug 15, 2021

Q A
Is bugfix?
New feature? ✔️
Breaks BC? ✔️
Fixed issues Partially #56

Related PRs: yiisoft/router-fastroute#77, yiisoft/demo#331, yiisoft/app#179, yiisoft/yii-debug#101

@rustamwin rustamwin marked this pull request as ready for review August 16, 2021 07:10
@rustamwin rustamwin requested a review from a team August 16, 2021 07:10
@xepozz
Copy link
Contributor

xepozz commented Aug 16, 2021

It would be better to rename Router to RouteProvider because of it behaviour.

src/UrlMatcherInterface.php Show resolved Hide resolved
src/UrlMatcherInterface.php Show resolved Hide resolved
src/RouterInterface.php Outdated Show resolved Hide resolved
src/RouterInterface.php Outdated Show resolved Hide resolved
Copy link
Member

@samdark samdark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests/RouterTest.php should be removed.

src/CurrentRoute.php Show resolved Hide resolved
@samdark
Copy link
Member

samdark commented Aug 17, 2021

Changes are required to other packages and apps currently using matcher to obtain current route. Also, README should be adjusted.

@rustamwin
Copy link
Member Author

Changes are required to other packages and apps currently using matcher to obtain current route. Also, README should be adjusted.

Done.

@samdark samdark merged commit 694aa09 into master Aug 18, 2021
@samdark samdark deleted the refactor-matcher branch August 18, 2021 08:54
samdark pushed a commit to yiisoft/router-fastroute that referenced this pull request Aug 18, 2021
samdark pushed a commit to yiisoft/demo that referenced this pull request Aug 18, 2021
samdark pushed a commit to yiisoft/app that referenced this pull request Aug 18, 2021
real-master-100 added a commit to real-master-100/router-yii that referenced this pull request Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants