Skip to content
Snippets Groups Projects
Commit 7a9cfb2b authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Restore `Controller` PHP attribute

Instead of using a class alias for the `Controller`
PHP attribute, is the class now restored.

This allows to install TYPO3 even without enabling the
`typo3/class-alias-loader` composer plugin when the deprecated
`Controller` attribute is used by an extensions. We also adapt our
codebase to use the newer `AsController` attribute as an example
for extensions authors that copy code from the sourcetree.

Resolves: #102858
Related: #102631
Releases: 12.4
Change-Id: Ia12843e9c29dc9bd32c2500e4c1c7d22aba4352a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82507


Tested-by: default avatarJosef Glatz <typo3@josefglatz.at>
Reviewed-by: default avatarJosef Glatz <typo3@josefglatz.at>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
parent 39cf5716
Branches
Showing
with 71 additions and 38 deletions
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