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

[Routing] Deprecate RouteCollection::addPrefix(null) #32246

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
Jun 28, 2019

Conversation

derrabus
Copy link
Member

Q A
Branch? 4.4
Bug fix? no
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets #32179
License MIT
Doc PR N/A

This PR deprecates the undocumented possibility to pass null as prefix to RouteCollection::addPrefix(). This allows us to add a string type-hint on the parameter in 5.0, see #32181 (comment)

/cc @Tobion

@derrabus derrabus changed the title [Routing] Deprecate RouteCollection::addPrefix(null). [Routing] Deprecate RouteCollection::addPrefix(null) Jun 28, 2019
@nicolas-grekas nicolas-grekas added this to the next milestone Jun 28, 2019
@Tobion
Copy link
Contributor

Tobion commented Jun 28, 2019

Thank you @derrabus.

@Tobion Tobion merged commit 2a88752 into symfony:4.4 Jun 28, 2019
Tobion added a commit that referenced this pull request Jun 28, 2019
…rrabus)

This PR was merged into the 4.4 branch.

Discussion
----------

[Routing] Deprecate RouteCollection::addPrefix(null)

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #32179
| License       | MIT
| Doc PR        | N/A

This PR deprecates the undocumented possibility to pass `null` as prefix to `RouteCollection::addPrefix()`. This allows us to add a `string` type-hint on the parameter in 5.0, see #32181 (comment)

/cc @Tobion

Commits
-------

2a88752 [Routing] Deprecate RouteCollection::addPrefix(null).
@derrabus derrabus deleted the improvement/add-prefix-null branch June 28, 2019 12:07
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
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.

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