You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
…icolas-grekas)
This PR was merged into the 4.3 branch.
Discussion
----------
[FramworkBundle][HttpKernel] fix KernelBrowser BC layer
| Q | A
| ------------- | ---
| Branch? | 4.3
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #31762
| License | MIT
| Doc PR | -
Swap the order of inheritance to preserve BC with legacy `Client` type hints.
From #30541
Commits
-------
1a4c254 [FramworkBundle][HttpKernel] fix KernelBrowser BC layer
Symfony version(s) affected: 4.3.0
Description
Prior to 4.3.0,
test.client
used to be an instance ofSymfony\Bundle\FrameworkBundle\Client
.In 4.3.0, it becomes
Symfony\Bundle\FrameworkBundle\KernelBrowser
which does not extendSymfony\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?The text was updated successfully, but these errors were encountered: