Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BrowserKit] Add response management to BrowserKit documentation (without toArray) #16949

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
Aug 9, 2022

Conversation

alexandre-daubois
Copy link
Member

@alexandre-daubois alexandre-daubois commented Jul 7, 2022

Closes #16580 for 4.4 (without toArray())

Copy link
Contributor

@HeahDude HeahDude left a comment

Choose a reason for hiding this comment

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

Should target 4.4?

~~~~~~~~~~~~~~~~~~~~~~~~~~~

When using the BrowserKit component, you may need to deal with responses of
the requests you made. To do so, you simply have to make a request, then call
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
the requests you made. To do so, you simply have to make a request, then call
the requests you made. To do so, you need to call

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you for the suggestion!
About version 4.4, the getResponse() method didn't exist at this time. That's why I targeted 5.4 🙂

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

@alexandre-daubois alexandre-daubois Jul 8, 2022

Choose a reason for hiding this comment

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

Oooh that was moved to AbstractBrowser after, I did not check Client! Thank you, I'm rebasing!

@alexandre-daubois alexandre-daubois changed the title [BrowserKit] Add response management to BrowserKit documentation [BrowserKit] Add response management to BrowserKit documentation (without toArray) Jul 8, 2022
@alexandre-daubois alexandre-daubois changed the base branch from 5.4 to 4.4 July 8, 2022 13:46
@alexislefebvre
Copy link
Contributor

alexislefebvre commented Jul 8, 2022

5.4 is still used in the description of this issue and the milestone.


Update: this is a known issue of the Carson bot: symfony-tools/carsonbot#176

@alexandre-daubois
Copy link
Member Author

Not able to edit milestone and so on but updated the description, thank you!

@javiereguiluz
Copy link
Member

Thank you Alexandre.

@javiereguiluz javiereguiluz merged commit cdf639b into symfony:4.4 Aug 9, 2022
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.

[BrowserKit] Add toArray to Response
5 participants