Deprecation: #94231 - Extbase InvalidRequestMethodException¶
To further prepare towards PSR-7 Requests in Extbase, the
TYPO3\CMS\Extbase\Mvc\Request has to be streamlined.
Therefore, the internal method
setMethod() has been removed.
This method previously threw the
Since this was the only usage and the exception is not used within
TYPO3 / Extbase anymore, the exception is deprecated.
in custom extension code is discouraged since it will be removed with TYPO3
v12 and is also no longer thrown by TYPO3.
Extbase based extensions may manually throw or catch
The extension scanner will find those usages.
All usages of
in custom extension code, which is very unlikely, have to be replaced with a
custom exception, if needed at all.