Skip to content

Rename VuFind\Mailer\Factory to MailerFactory for consistency.#4932

Merged
demiankatz merged 2 commits intovufind-org:devfrom
demiankatz:rename-mailer-factory
Dec 4, 2025
Merged

Rename VuFind\Mailer\Factory to MailerFactory for consistency.#4932
demiankatz merged 2 commits intovufind-org:devfrom
demiankatz:rename-mailer-factory

Conversation

@demiankatz
Copy link
Member

@demiankatz demiankatz commented Dec 4, 2025

Work on #4801 revealed that the Mailer's factory is an outlier that does not follow the naming convention of {$className}Factory. This PR renames it for consistency with other factories while keeping a back-compatible shim in place for anyone still using the old name.

TODO

  • Note deprecation in changelog
  • Open follow-up PR to remove deprecated class from dev-12.0 branch

@demiankatz demiankatz added this to the 11.1 milestone Dec 4, 2025
@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label Dec 4, 2025
@demiankatz demiankatz merged commit 3c625d3 into vufind-org:dev Dec 4, 2025
6 checks passed
@demiankatz demiankatz deleted the rename-mailer-factory branch December 4, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture pull requests that involve significant refactoring / architectural changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants