Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Avoid and deprecate ViewHelperCompiler #745

Merged
merged 1 commit into from
May 6, 2023
Merged

[TASK] Avoid and deprecate ViewHelperCompiler #745

merged 1 commit into from
May 6, 2023

Conversation

lolli42
Copy link
Member

@lolli42 lolli42 commented May 6, 2023

The ViewHelperCompiler helper class has been
introduced a while ago and shrinked over
time again. It consists of one method with
an sprintf() and two constants nowadays.

It is used in the two traits
CompileWithRenderStatic and
CompileWithContentArgumentAndRenderStatic.

To simplify the code a bit, the code of
ViewHelperCompiler is now inlined to the
two traits, which makes them easier to
read and understand. ViewHelperCompiler
is marked @deprecated, neither Flow nor
TYPO3 use that class, so impact should be
rather low.

The ViewHelperCompiler helper class has been
introduced a while ago and shrinked over
time again. It consists of one method with
an sprintf() and two constants nowadays.

It is used in the two traits
CompileWithRenderStatic and
CompileWithContentArgumentAndRenderStatic.

To simplify the code a bit, the code of
ViewHelperCompiler is now inlined to the
two traits, which makes them easier to
read and understand. ViewHelperCompiler
is marked @deprecated, neither Flow nor
TYPO3 use that class, so impact should be
rather low.
@lolli42 lolli42 merged commit cc9eedd into main May 6, 2023
4 checks passed
@lolli42 lolli42 deleted the lolli-3 branch May 6, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants