Issue Task Rejected

#76082Improve readability of the TypoScript Parser - the lastCondition flag

Elmar Hinz 05/09/16, 08:42 updated 06/10/18, 12:18

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.

Reviews 1