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

Refactor subscriptions #2759

Merged
merged 6 commits into from May 19, 2019
Merged

Refactor subscriptions #2759

merged 6 commits into from May 19, 2019

Conversation

micgro42
Copy link
Collaborator

@micgro42 micgro42 commented Apr 20, 2019

Todo

  • decide whether to split up ChangeSubscriptionsDispatcher class into one for pages, media and bulk
  • PSR-2 fixes in new classes
  • move old Subscription class to deprecated.php
  • rewrite use of old subscription code in DokuWiki base

This allows us to rename the snake_case methods and to group them in a
more sensible manner.
This splits up and slightly refactors the tests for the refactored subscriptions classes
@splitbrain
Copy link
Collaborator

LGTM. Splitting the ChangeSubscriptions makes sense to me.

This should better adhere to SRP and simplify things.
This class has been replaced by the classes in the
dokuwiki/Subscriptions namespace.
@splitbrain splitbrain merged commit b8c09b6 into psr2 May 19, 2019
@splitbrain splitbrain deleted the refactorSubscriptions branch May 19, 2019 08:48
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.

None yet

2 participants