Different bootstrap depending on TYPO3 version (detected by class_exists)
Different Class for VariableViewHelpers (detected by class_exists)
Two classes for the RenderChildrenViewHelper. One for old fluid (TYPO3\CMS\Fluid) and one for the new variant (TYPO3Fluid). Detected via class_exists and then used via different page.ts files.
Write SiteConfiguration into config.yaml for TYPO3 v10
Room for improvement:
SiteConfiguration is currently fixed and maybe must be configurable depending on the testcase
Why two classes for RenderChildrenViewHelper:
Not only the base class for AbstractViewHelper has changed, but the method signature for renderStatic has changed too (RenderingContextInterface has different namespace).
Things changed to get it working:
Room for improvement:
Why two classes for RenderChildrenViewHelper: Not only the base class for AbstractViewHelper has changed, but the method signature for renderStatic has changed too (RenderingContextInterface has different namespace).