Issue Bug Closed

#42280Remove singleton for EXT:form Localization

Christian Kuhn 10/22/12, 17:41 updated 10/23/17, 22:13

Description

\TYPO3\CMS\Form\Localization is a singleton class with constructor
parameters. This is an antipattern and broken by design. As an effect
it leads to warnings in unit tests and makes the class unusable
with multiple files.

The patch removes the implementation of the singletonInterface, but
sets the default localization file as default parameter to keep
backwards compatibility.

Reviews 1