[BUGFIX] Migrate cObject to LoggerAwareTrait 20/56920/2
authorBenni Mack <benni@typo3.org>
Fri, 11 May 2018 07:03:27 +0000 (09:03 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 11 May 2018 07:49:14 +0000 (09:49 +0200)
commit545c3c9b5814cd6178f2ab6763fdc30f81e5a12c
treee51e84a7f514bc8fe511f8199e5713596e1c4433
parent9f1e15486bd4de700649bd84491831dea4431c4a
[BUGFIX] Migrate cObject to LoggerAwareTrait

TYPO3 Core supports PSR-3 through the LoggerAwareTrait and LoggerAwareInterface
since TYPO3 v9 in all available PHP classes via makeInstance() automatically.

However, during the migration, ContentObjectRenderer was not replaced.

Resolves: #84967
Releases: master
Change-Id: I5e3481273f60858fe9bf1d8fed30d27ad1cd5707
Reviewed-on: https://review.typo3.org/56920
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php