Project

General

Profile

Actions

Task #76082

closed

Improve readability of the TypoScript Parser - the lastCondition flag

Added by Elmar Hinz almost 8 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-05-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser

  • The public flag $lastConditionTrue controls if the [ELSE] branch is selected, when the previous condition failed. The term last is ambiguous.
    • This semantic message shall be expressed in a change of the wording: $previousConditionFailed
  • The flag is public, but it's functionality scope is internal.
    • Set it protected.
  • Booleans aret int.
    • Set to bool.
  • Do related cleanups.
Actions

Also available in: Atom PDF