[PR #9249] Deprecate Setup::registerAutoloadDirectory() #11461

Closed
opened 2026-01-22 16:10:51 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/9249

State: closed
Merged: Yes


Custom autoloaders shouldn't be a thing anymore.

Note that I deliberately did not trigger a runtime deprecation inside that method because I have to assume that if somebody really uses registerAutoloadDirectory(), they do it in an environment where the Deprecation class might not be autoloadable.

**Original Pull Request:** https://github.com/doctrine/orm/pull/9249 **State:** closed **Merged:** Yes --- Custom autoloaders shouldn't be a thing anymore. Note that I deliberately did not trigger a runtime deprecation inside that method because I have to assume that **if** somebody really uses `registerAutoloadDirectory()`, they do it in an environment where the `Deprecation` class might not be autoloadable.
admin added the pull-request label 2026-01-22 16:10:51 +01:00
admin closed this issue 2026-01-22 16:10:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#11461