Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Symfony 4.3 "test.client" service is not an instance of Symfony\Bundle\FrameworkBundle\Client #31762

Copy link
Copy link
Closed
@pamil

Description

@pamil
Issue body actions

Symfony version(s) affected: 4.3.0

Description

Prior to 4.3.0, test.client used to be an instance of Symfony\Bundle\FrameworkBundle\Client.
In 4.3.0, it becomes Symfony\Bundle\FrameworkBundle\KernelBrowser which does not extend Symfony\Bundle\FrameworkBundle\Client anymore.

Because of the lack of interfaces, there was no other possibility to typehint it than to use the class name.

I saw Symfony\Component\BrowserKit\Client has been deprecated but it's still used, is it possible to do the same with FrameworkBundle's Client?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.