Skip to content

[FramworkBundle][HttpKernel] fix KernelBrowser BC layer #31881

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

Merged
merged 1 commit into from
Jun 6, 2019

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Jun 5, 2019

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

Copy link
Contributor

@pamil pamil left a comment

Choose a reason for hiding this comment

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

Tested on Sylius, it solves the issue, thanks a lot! :)

@fabpot
Copy link
Member

fabpot commented Jun 6, 2019

Thank you @nicolas-grekas.

@fabpot fabpot merged commit 1a4c254 into symfony:4.3 Jun 6, 2019
fabpot added a commit that referenced this pull request Jun 6, 2019
…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
@nicolas-grekas nicolas-grekas deleted the fix-client-bc-layer branch June 6, 2019 08:37
@fabpot fabpot mentioned this pull request Jun 6, 2019
nicolas-grekas added a commit that referenced this pull request Jun 28, 2019
…sponse back to Client (teohhanhui)

This PR was merged into the 4.3 branch.

Discussion
----------

[HttpKernel] Add @method PHPDoc for getRequest and getResponse back to Client

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

As the deprecated `Symfony\Component\HttpKernel\Client` does not extend `Symfony\Component\HttpKernel\HttpKernelBrowser`, it has not retained the correct PHPDoc from before.

The order of inheritance was changed in #31881, but the PHPDoc was never restored.

Commits
-------

3321351 [HttpKernel] Add @method PHPDoc for getRequest and getResponse back to Client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants