8000 [Routing] fix type inconsistencies in RequestContext by Tobion · Pull Request #12190 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Routing] fix type inconsistencies in RequestContext #12190

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 2 commits into from
Oct 9, 2014

Conversation

Tobion
Copy link
Contributor
@Tobion Tobion commented Oct 9, 2014
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Fixed inconsistencies in RequestContext:

@fabpot
Copy link
Member
fabpot commented Oct 9, 2014

Thank you @Tobion.

@fabpot fabpot merged commit 676c4a0 into symfony:2.3 Oct 9, 2014
fabpot added a commit that referenced this pull request Oct 9, 2014
…bion)

This PR was merged into the 2.3 branch.

Discussion
----------

[Routing] fix type inconsistencies in RequestContext

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

Fixed inconsistencies in RequestContext:

- [x] port setters and getters inconsistent with constructor (string vs int)
- [x] host should be lowercased for easier case-insensitivity, see #9072
- [x] fix setQueryString with null
- [x] fix return phpdoc typehint

Commits
-------

676c4a0 [Routing] add tests for RequestContext
f61607f [Routing] fix inconsistencies in RequestContext
@Tobion Tobion deleted the request-context-wrong-types branch October 9, 2014 16:04
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.

2 participants
0