Skip to content
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

Disallow null uri as value #2461

Merged
merged 1 commit into from
Dec 28, 2019
Merged

Disallow null uri as value #2461

merged 1 commit into from
Dec 28, 2019

Conversation

gmponos
Copy link
Member

@gmponos gmponos commented Dec 15, 2019

I am not sure if this is something we want for v7 or we should raise a deprecation notice on 7 and target this PR on 8

@gmponos gmponos marked this pull request as ready for review December 15, 2019 13:28
@gmponos gmponos added this to the 7.0.0 milestone Dec 18, 2019
Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

I agree with this.

It means that people calling $client->request('GET', null) get an \InvalidArgumentException. Doing $client->request('GET') or $client->request('GET', '') is still fine.

@sagikazarmark
Copy link
Member

We should probably include change log or upgrade guide or both in these PRs, otherwise we will forget these removed deprecations.

@gmponos
Copy link
Member Author

gmponos commented Dec 23, 2019

I already started another PR about upgrade guide.. will push it there... what is your suggested procedure that we must follow?

We can merge that one and then start doing update of the CHANGELOG/UPGRADE per PR?

related PR #2473

@Nyholm
Copy link
Member

Nyholm commented Dec 28, 2019

We can merge this PR now. Good thing that you added this PR to the "Breaking changes in 7" project.

@Nyholm Nyholm merged commit b297f12 into guzzle:master Dec 28, 2019
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