8000 [FrameworkBundle] Fix BC break on WebTestCase::createClient by teohhanhui · Pull Request #32214 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[FrameworkBundle] Fix BC break on WebTestCase::createClient #32214

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

Closed
wants to merge 1 commit into from

Conversation

teohhanhui
Copy link
Contributor
Q A
Branch? 4.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #32212
License MIT
Doc PR N/A

Changing the return type of WebTestCase::createClient method was a BC break. Introduced in #30541.

@teohhanhui teohhanhui force-pushed the fix/web-test-case-bc branch from 661571e to 23a8a68 Compare June 27, 2019 10:29
@nicolas-grekas nicolas-grekas added this to the 4.3 milestone Jun 27, 2019
Copy link
Member
@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

👎 as explained in the comment:
the BC policy covers code changes, not annotations
the BC policy doesn't cover phpstan levels or similar concepts.

@@ -35,7 +36,7 @@ protected function doTearDown(): void
* @param array $options An array of options to pass to the createKernel method
* @param array $server An array of server parameters
*
* @return KernelBrowser A KernelBrowser instance
* @return Client A Client instance
Copy link
Member

Choose a reason for hiding this comment

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

This should be reverted: docblock always document the non-deprecated API.

@teohhanhui
Copy link
Contributor Author

@nicolas-grekas Thanks for the clarification.

@teohhanhui teohhanhui closed this Jun 28, 2019
@teohhanhui teohhanhui deleted the fix/web-test-case-bc branch June 28, 2019 12:00
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.

3 participants
0