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

add RequestMatcherInterface to RouterDecorator #21

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

carlosromero
Copy link

Hi @kjonski,

First of all, thanks for sharing your bundle, I started using it recently and it works amazing in my app.

Some days ago I added https://github.com/EasyCorp/EasyAdminBundle to my app and then it started to complain about a interface matching issue within both bundles.

Original object Router implements RouterInterface and RequestMatcherInterface
Some bundles (EasyCorp/EasyAdmin) expects a Router object that implements RequestMatcherInterface and throws an exception in other case.

I resolved it with this commit and maybe you want add it also in you repository.

Regards!

kjonski and others added 4 commits March 2, 2020 18:22
…p-kernel-security-issue

Resolves PGSSoft#18 Update symfony/http-kernel
Original object Router implements RouterInterface and RequestMatcherInterface 
Some bundles (EasyCorp/EasyAdmin) expects a Router object that implements RequestMatcherInterface and throws an exception in other case.
{
return $this->getRouter()->matchRequest($pathinfo);
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

Please remove this extra line

Copy link
Author

Choose a reason for hiding this comment

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

Done!

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.

2 participants