Deprecation: #94231 - Deprecate extbase InvalidRequestMethodException¶
See Issue #94231
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.0 and is also not 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.