8000 [BrowserKit] CookieJar remove unneeded var, Client remove unneeded else by eduardosoliv · Pull Request #8432 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[BrowserKit] CookieJar remove unneeded var, Client remove unneeded else #8432

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 3 commits into from
Closed

[BrowserKit] CookieJar remove unneeded var, Client remove unneeded else #8432

wants to merge 3 commits into from

Conversation

eduardosoliv
Copy link
Contributor
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

if ($status >= 300 && $status < 400) {
$this->redirect = $this->internalResponse->getHeader('Location');
} else {
$this->redirect = null;
}
Copy link
Member

Choose a reason for hiding this comment

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

This change should be removed as it does not fix anything.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fabpot removed, just did it because IMO looks easier to read code with less else's.

@cordoval
Copy link
Contributor
cordoval commented Jul 7, 2013

@entering why did you add the original tab?

@cordoval
Copy link
Contributor
cordoval commented Jul 7, 2013

other than this this PR is 👍

@eduardosoliv
Copy link
Contributor Author

@cordoval just touched that file to remove the else, if @fabpot don't want it, I reverted all changes to that file so the diff is clean

fabpot added a commit that referenced this pull request Jul 7, 2013
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #8432).

Discussion
----------

[BrowserKit] CookieJar remove unneeded var, Client remove unneeded else

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

10c6799 [BrowserKit] CookieJar remove unneeded var, Client remove unneeded else
@fabpot fabpot closed this Jul 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0