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

Remove marshalUriFromSapi function #152

Merged
merged 3 commits into from
May 2, 2023

Conversation

weierophinney
Copy link
Member

@weierophinney weierophinney commented May 2, 2023

Q A
Documentation yes
Bugfix no
BC Break yes
New Feature no
RFC no
QA no

Description

In version 2.11.0, we deprecated the Laminas\Diactoros\marshalUriFromSapi() function, and moved its functionality to UriFactory::createFromSapi().

This patch removes it for the v3.0.0 release, and documents the removal in the migration guide.

Fixes #149

Marked for removal for 3.0.0, so this patch removes it.
It also removes tests in `ServerRequestFactoryTest` that exercised it, as these had been largely moved to the `UriFactoryTest` already.
One test method was found that had not, and was moved to that factory.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
- adds a migration note
- removes reference from API documentation

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
@Xerkus
Copy link
Member

Xerkus commented May 2, 2023

psalm config file also has issue handler for this

Removes issue suppressions for marshalUriFromSapi and GdImage from Psalm config.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
@weierophinney
Copy link
Member Author

psalm config file also has issue handler for this

Resolved.

@Xerkus Xerkus linked an issue May 2, 2023 that may be closed by this pull request
@Xerkus Xerkus merged commit 9b7432e into laminas:3.0.x May 2, 2023
13 checks passed
@Xerkus
Copy link
Member

Xerkus commented May 2, 2023

Thank you.

@weierophinney weierophinney deleted the feature/function-removal branch May 2, 2023 22:21
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.

Drop deprecated function marshalUriFromSapi
2 participants