Skip to content
Snippets Groups Projects
Commit ff763798 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Modernize ext:adminpanel

* Use more DI
* Avoid MainController being a singleton, have it DI shared
* Avoid static state in InMemoryLogWriter
* Add various type hints
* Streamline annotations
* Avoid a useless exception class
* Use inject* method for DI in an abstract class to avoid
  polluting __construct() for consumers.

Resolves: #99137
Releases: main
Change-Id: I15046da24581fccc1524af6ab3320de6c6880c78
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76704


Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 2aff2fe6
No related merge requests found
Showing
with 100 additions and 187 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