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 deprecated classes #2132

Merged
merged 1 commit into from
Dec 13, 2022
Merged

Conversation

franmomu
Copy link
Contributor

@franmomu franmomu commented Dec 7, 2022

This PR removes all deprecated classes in 7.x branch, there is still deprecated code to be removed/changed but I think it will be easier to review in another PR.

@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased](https://github.com/ruflin/Elastica/compare/7.3.0...master)
### Backward Compatibility Breaks
* Dropped support for PHP <8.0 [#2131](https://github.com/ruflin/Elastica/pull/2131)
* Removed deprecated classes in 7.x [#2132](https://github.com/ruflin/Elastica/pull/2132)
Copy link
Owner

Choose a reason for hiding this comment

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

I know the list might be long but I think it is worth for our users to list the classes in the changelog. Same for methods and variables that were removed. Like this, users don't have to look at the PR but only changelog to see what was removed.

If we want to go even one step further, we could add use now. Something like:

  • Elastica\Processor\Convert removed -> use Elastica\Processor\ConvertProcessor instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 done @ruflin

@franmomu franmomu force-pushed the remove_deprecated_classes branch from e2cc4e6 to 25c770b Compare December 13, 2022 07:46
@franmomu franmomu force-pushed the remove_deprecated_classes branch from 25c770b to 3deb5ef Compare December 13, 2022 07:48
@ruflin ruflin merged commit 63227c5 into ruflin:8.x Dec 13, 2022
@ruflin
Copy link
Owner

ruflin commented Dec 13, 2022

Thanks!

@franmomu franmomu deleted the remove_deprecated_classes branch December 14, 2022 08:21
ruflin pushed a commit that referenced this pull request Dec 15, 2022
Follow-up #2132

This PR removes deprecated methods
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