Skip to content

Commit

Permalink
Deprecate Setup::registerAutoloadDirectory() (#9249)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored Dec 13, 2021
1 parent 56e0ac0 commit 003090b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Upgrade to 2.11

## Deprecated: `Setup::registerAutoloadDirectory()`

Use Composer's autoloader instead.

## Deprecated: `AbstractHydrator::hydrateRow()`

Following the deprecation of the method `AbstractHydrator::iterate()`, the
Expand Down
2 changes: 2 additions & 0 deletions lib/Doctrine/ORM/Tools/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class Setup
* Use this method to register all autoloads for a downloaded Doctrine library.
* Pick the directory the library was uncompressed into.
*
* @deprecated Use Composer's autoloader instead.
*
* @param string $directory
*
* @return void
Expand Down

0 comments on commit 003090b

Please sign in to comment.