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

Conversation

@jzawadzki
Copy link
Contributor

@jzawadzki jzawadzki commented Nov 27, 2019

As per symfony/symfony#30541 Client has been renamed to AbstractBrowser. Looks like docs were not updated

components/browser_kit.rst Outdated Show resolved Hide resolved
@OskarStark
Copy link
Contributor

I propose to add this change to 4.3 + adding a deprecated directive, and remove this directive in 5.0

@OskarStark OskarStark added this to the 4.3 milestone Nov 29, 2019
Co-Authored-By: Oskar Stark <oskarstark@googlemail.com>
@OskarStark
Copy link
Contributor

Could you add the deprecated directive @jzawadzki and change the base branch to 4.3?

@jzawadzki
Copy link
Contributor Author

will do today
JZ

@HeahDude
Copy link
Contributor

HeahDude commented Feb 7, 2020

Hello @jzawadzki are you still willing to work on this PR? Thanks!

@HeahDude HeahDude modified the milestones: 4.3, 4.4 Feb 19, 2020
javiereguiluz added a commit that referenced this pull request Jun 8, 2020
…bstractBrowser since SF 4.3 (Calex92)

This PR was merged into the 4.4 branch.

Discussion
----------

[Browserkit] The Client class has been replaced by the AbstractBrowser since SF 4.3

I noticed that in the BrowserKit documentation, there was multiple references to the old ``Symfony\Component\BrowserKit\Client`` class instead of the ``Symfony\Component\BrowserKit\AbstractBrowser`` one.

See [https://github.com/symfony/symfony/pull/30541](https://github.com/symfony/symfony/pull/30541)

There was a previous merge request for SF5 here (#12717), but I don't know if it was possible for me to use it since I'm quite new with Github best practice about contribution.

Don't hesitate to tell me if I'm wrong!

Commits
-------

a3ff4e0 The Client class has been replaced by the AbstractBrowser since SF 4.3
@javiereguiluz
Copy link
Member

@jzawadzki thanks for contributing these fixes. Sadly we received another pull request targeted at an earlier branch, which allowed us to add the "deprecated" directive (see #13550). So, we're closing this in favor of the other one.

@OskarStark we added the deprecated directive while merging and removed it in 5.0 and up.

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.

5 participants

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