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

Skip to content

Rename allowSuccessfulResponse to correct allowCustomResponseCode #9336

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
Closed

Rename allowSuccessfulResponse to correct allowCustomResponseCode #9336

wants to merge 1 commit into from

Conversation

hkdobrev
Copy link
Contributor

Introduced in 5f0becf

The functionality was introduced in symfony/symfony#19822.
The method got renamed during code review, but was not updated in the docs.
symfony/symfony#19822 (comment)

…Code

Introduced in 5f0becf

The functionality was introduced in symfony/symfony#19822.
The method got renamed during code review, but was not updated in the docs.
symfony/symfony#19822 (comment)
@hkdobrev hkdobrev changed the title Rename missing allowCustomResponseCode to correct allowCustomResponseCode Rename allowSuccessfulResponse to correct allowCustomResponseCode Feb 25, 2018
fabpot added a commit to silexphp/Silex that referenced this pull request Feb 26, 2018
…obrev)

This PR was merged into the 2.3.x-dev branch.

Discussion
----------

Allow setting custom status code on exception response

Closes #1450.

Prior and related PRs and issues:

- symfony/symfony#19822
- symfony/symfony-docs@5f0becf
- symfony/symfony-docs#9336

Commits
-------

7103511 Allow setting custom status code on exception response
@javiereguiluz javiereguiluz added this to the 3.4 milestone Feb 26, 2018
@javiereguiluz
Copy link
Member

@hkdobrev very nice catch! We've merged it on 3.4, the oldest maintained branch that contains the error. That's why GitHub shows it as closed instead of merged, but it's merged. And congrats on your first Symfony Docs contribution too!

javiereguiluz added a commit that referenced this pull request Feb 26, 2018
…onseCode (hkdobrev)

This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #9336).

Discussion
----------

Rename allowSuccessfulResponse to correct allowCustomResponseCode

Introduced in 5f0becf

The functionality was introduced in symfony/symfony#19822.
The method got renamed during code review, but was not updated in the docs.
symfony/symfony#19822 (comment)

Commits
-------

0cda0d5 Rename missing allowCustomResponseCode to correct allowCustomResponseCode
@hkdobrev hkdobrev deleted the custom-response-code-fix branch February 26, 2018 09:09
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