From ee13e7b4cdddc5bf1de8be9af93a505fcb224a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Mu=CC=88ller?= Date: Wed, 29 Nov 2023 08:24:01 +0100 Subject: [PATCH] TASK: Adjust to fluid changes Avoid fatal error due to changes in fluid. See https://github.com/TYPO3/Fluid/pull/813 --- Classes/Core/Renderer/FluidFormRenderer.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Classes/Core/Renderer/FluidFormRenderer.php b/Classes/Core/Renderer/FluidFormRenderer.php index 85ba008..1cfc554 100644 --- a/Classes/Core/Renderer/FluidFormRenderer.php +++ b/Classes/Core/Renderer/FluidFormRenderer.php @@ -200,11 +200,6 @@ public function renderRenderable(RootRenderableInterface $renderable) return $output; } - public function renderPartial($partialName, $sectionName, array $variables, $ignoreUnknown = false) - { - return parent::renderPartial($partialName, $sectionName, $variables, $ignoreUnknown); // TODO: Change the autogenerated stub - } - /** * @param array $renderingOptions * @return TemplatePaths @@ -252,7 +247,7 @@ protected function getPathAndFilenameForRenderable($renderableType, array $rende if (!isset($renderingOptions['templatePathPattern'])) { throw new RenderingException(sprintf('The Renderable "%s" did not have the rendering option "templatePathPattern" defined.', $renderableType), 1326094041); } - list($packageKey, $shortRenderableType) = explode(':', $renderableType); + [$packageKey, $shortRenderableType] = explode(':', $renderableType); return strtr($renderingOptions['templatePathPattern'], array( '{@package}' => $packageKey, @@ -277,7 +272,7 @@ protected function getPathAndFilenameForRenderableLayout($renderableType, array if (!isset($renderingOptions['layoutPathPattern'])) { throw new RenderingException(sprintf('The Renderable "%s" did not have the rendering option "layoutPathPattern" defined.', $renderableType), 1326094161); } - list($packageKey, $shortRenderableType) = explode(':', $renderableType); + [$packageKey, $shortRenderableType] = explode(':', $renderableType); return strtr($renderingOptions['layoutPathPattern'], array( '{@package}' => $packageKey, @@ -301,7 +296,7 @@ protected function getPartialPathAndFilename($renderableType) if (!isset($renderingOptions['partialPathPattern'])) { throw new RenderingException(sprintf('The Renderable "%s" did not have the rendering option "partialPathPattern" defined.', $renderableType), 1326713352); } - list($packageKey, $shortRenderableType) = explode(':', $renderableType); + [$packageKey, $shortRenderableType] = explode(':', $renderableType); $partialPath = strtr($renderingOptions['partialPathPattern'], array( '{@package}' => $packageKey,