Skip to content
Snippets Groups Projects
Commit f44ae8fa authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen Committed by Anja Leichsenring
Browse files

[BUGFIX] CommandUtility::getCommand() results in error

With PHP 8.1 the CommandUtility::getCommand() results in an
error:

Typed static property TYPO3\CMS\Core\Utility\CommandUtility::$paths
must not be accessed before initialization

This patch is to prevent this from happening

Resolves: #98950
Releases: main
Change-Id: I9fa88c65f25eebb7d2b2f989b875cb7bd85e60f8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76551


Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent fcc5cbea
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