Skip to content
Snippets Groups Projects
Commit 81156247 authored by Stefan Bürk's avatar Stefan Bürk
Browse files

[BUGFIX] Remove `doctrine/annotations` autoloader registration

`doctrine/annotations` v2 removed autoloading related methods
in their `\Doctrine\Common\Annotations\AnnotationRegistry`
class. With #99832 this dependency has been allowed in 1.x and
2.x, which now pulls in the version with removed methods.

With #82869 `doctrine/annotations` has been added as dependency
along with this autoloader register call. Versions have been
raised since then multiple times. The standing 1.13.x version
marked these autoloading methods as deprecated, recommending
to rely on global autoloader. That means that the used composer
autoloader should be sufficient, especially as it only provided
a callback to the already used global autoloader.

This change removes the no longer needed autoloader registration
call from `\TYPO3\CMS\Core\Core\Bootstrap`.

Resolves: #99833
Related: #99832
Related: #82869
Releases: main
Change-Id: I4fb33e3bdb2b5e6bb2953d5f336030ca406fd175
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77705


Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 7dc3d1fb
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment