Deprecation: #87277 - Fluid Class Aliases

See Issue #87277

Description

Since introduction of the standalone package typo3fluid/fluid, the TYPO3 core provides class aliases for the moved classes to ease usage in extensions. These class aliases will be dropped in TYPO3 v10.

The following class aliases have been marked as deprecated and should no longer be used:

  • TYPO3\CMS\Fluid\Core\Compiler\TemplateCompiler
  • TYPO3\CMS\Fluid\Core\Exception
  • TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode
  • TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface
  • TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\NodeInterface
  • TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\RootNode
  • TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode
  • TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface
  • TYPO3\CMS\Fluid\Core\Variables\CmsVariableProvider
  • TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper
  • TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedViewHelper
  • TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
  • TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition
  • TYPO3\CMS\Fluid\Core\ViewHelper\Exception
  • TYPO3\CMS\Fluid\Core\ViewHelper\Exception\InvalidVariableException
  • TYPO3\CMS\Fluid\Core\ViewHelper\Facets\ChildNodeAccessInterface
  • TYPO3\CMS\Fluid\Core\ViewHelper\Facets\CompilableInterface
  • TYPO3\CMS\Fluid\Core\ViewHelper\Facets\PostParseInterface
  • TYPO3\CMS\Fluid\Core\ViewHelper\TagBuilder
  • TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer
  • TYPO3\CMS\Fluid\Core\ViewHelper\ViewHelperInterface
  • TYPO3\CMS\Fluid\Core\ViewHelper\ViewHelperVariableContainer
  • TYPO3\CMS\Fluid\View\Exception
  • TYPO3\CMS\Fluid\View\Exception\InvalidSectionException
  • TYPO3\CMS\Fluid\View\Exception\InvalidTemplateResourceException

Impact

Extensions and third party packages using the TYPO3\CMS\Fluid namespace might be affected by the stand alone Fluid package change. If aliased class names are used, there will be fatal PHP Errors after update to TYPO3 v10.

The extension scanner will find usage of these classes.

Affected Installations

All installations that use the TYPO3\CMS\Fluid namespace for class aliases.

Migration

Migrate to the original classes in namespace TYPO3Fluid\Fluid .