Skip to content

[Routing] generate(null) should throw an exception #29191

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
Nov 13, 2018

Conversation

nicolas-grekas
Copy link
Member

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

@OskarStark
Copy link
Contributor

Should this be considered a BC break? I mean we currently don’t have a type hint here, so the behavior is changed.
I am 👍🏻 for this change but to have a smooth upgrade path without surprises, an Upgrade note should be added.

@nicolas-grekas
Copy link
Member Author

3.4 throws already, that's a bug :)

@OskarStark
Copy link
Contributor

In this case... 👍🏻😉

@nicolas-grekas nicolas-grekas merged commit 710aafb into symfony:4.1 Nov 13, 2018
nicolas-grekas added a commit that referenced this pull request Nov 13, 2018
…s-grekas)

This PR was merged into the 4.1 branch.

Discussion
----------

[Routing] generate(null) should throw an exception

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

Commits
-------

710aafb [Routing] generate(null) should throw an exception
@fabpot fabpot mentioned this pull request Nov 16, 2018
@nicolas-grekas nicolas-grekas deleted the routing-fix-notice branch November 18, 2018 15:22
@fabpot fabpot mentioned this pull request Nov 26, 2018
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.

5 participants