Review main Merged

76732[TASK] Consolidate DocType handling as Enum

Benni Mack CR +2 V +2 Hard +411 −135 updated 12/23/22, 14:57

Commit message

A new Enum "DocType" is introduced to finally streamline
the usage of various TypoScript options,
TSFE properties (xhtmlDoctype, xhtmlVersion)
various PageRenderer methods (setXmlPrologAndDocType, setRenderXhtml)
and keep them in sync by adding this information
to PageRenderer->docType.

The following TSFE public properties
are now marked as deprecated:
* TSFE->xhtmlDoctype
* TSFE->xhtmlVersion

The following PageRenderer methods are now
deprecated as this is now configured via the Enum
* PageRenderer->setRenderXhtml()
* PageRenderer->getRenderXhtml()
* PageRenderer->setMetaCharsetTag()
* PageRenderer->getMetaCharsetTag()
* PageRenderer->setCharSet()
* PageRenderer->getCharSet()

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 18