Deprecation: #100637 - Third argument ContentObjectRenderer->start()
See forge#100637
Description
When creating instances of the
\TYPO3\
, the
third argument
$request
when calling
start
should not be
handed over anymore. Instead,
set
should be used
after creating the object.
Impact
Handing over the third argument to
start
has been marked as deprecated
in TYPO3 v12, it will be ignored with TYPO3 v13.
Affected installations
Instances with casual extensions are probably not affected by this: Instances
of
Content
are usually set-up framework internally.
Using the third argument on
start
triggers a deprecation level log
message. The extension scanner will not find usages, since the method
name
start
is used in different context as well and would lead to
too many false positives.
Migration
Ensure the request is an instance of
\Psr\
,
and call
set
after instantiation instead of calling
start
with three arguments.