Task #90277

Remove throwing of RuntimeException if RenderingContext is not desired type, replace with method presence checks.

Added by Claus Due 24 days ago. Updated 24 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2020-01-31
Due date:
% Done:

0%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Implementations of RenderingContext currently throws RuntimeException, but is technically compatible with other instance types of RenderingContext.

The goal of throwing the exception is to avoid calling methods that do not exist - this can be achieved by checking if the method exists.

History

#1 Updated by Gerrit Code Review 24 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63102

Also available in: Atom PDF