Deprecation: #95005 - Extbase EmptyView

See forge#95005

Description

To further clean up and streamline Fluid view related functionality, the Extbase related view class TYPO3\CMS\Extbase\Mvc\View\EmptyView has been marked as deprecated.

Impact

Using EmptyView has been marked as deprecated and trigger a PHP E_USER_DEPRECATED error upon use.

Affected Installations

The class has been unused within TYPO3 core since its introduction in TYPO3 4.5. It is rather unlikely instances have extensions using the class. The extension scanner finds usages with a strong match.

Migration

If rendering "nothing" by a view instance is needed for whatever reason, the same result can be achieved with a TYPO3\CMS\Fluid\View\StandaloneView view instance by setting $view->setTemplateSource('') and calling $view->render(). But it's of course quicker to simply not render anything at all.