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

Deprecate Setup::registerAutoloadDirectory() #9249

Merged

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Dec 13, 2021

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.

@derrabus derrabus added this to the 2.11.0 milestone Dec 13, 2021
@derrabus derrabus merged commit 003090b into doctrine:2.11.x Dec 13, 2021
@derrabus derrabus deleted the deprecate/register-autoload-directory branch December 13, 2021 22:36
derrabus added a commit to derrabus/orm that referenced this pull request Dec 13, 2021
* 2.11.x:
  Deprecate Setup::registerAutoloadDirectory() (doctrine#9249)
  PHPCS 3.6.2, Psalm 4.15.0 (doctrine#9247)
  Add SchemaIgnoreClasses property for doctrine#8195. (doctrine#9202)
  Remove fallbacks for old doctrine/annotations version (doctrine#9235)
  Update docs/en/reference/events.rst
  Added psalm param to abstract addFilterConstraint (doctrine#9229)
  Merge pull request doctrine#9210 from alexander-schranz/patch-2
  Fix typo assumptio--> assumption
  Update events.rst
  Completing links to `EventArgs` classes in overview table
  Using `const` for `type`
  [Documentation] Events Overview Table: Adding "Passed Argument" column
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.

2 participants