Review main Abandoned

47143[WIP][TASK] Rename cObj to contentObjectRenderer

Elmar Hinz CR 0 V 0 Normal +83 −8 updated 03/28/17, 14:42

Commit message

Rename cObj to contentObjectRenderer.
For now do this for content objects and the frontend controller.

This [WIP] is a prove of concept how migration could be done.

* Rename cObj to contentObjectRenderer in AbstractContentObject.php.
* Rename cObj to contentObjectRenderer in TypoScriptFrontendController.php.
* Enable cObj as an alias by use of magic getters and setters.
* Upgrade CMS classes step by step to the modern naming.
* Deprecate cObj aliases in a later version.

Issues:

Aliasing doesn't seem to work when the classes are used as mocks by
getMock(). This needs examination.

There is one line where this actually happens. This is line 38 in
AbstractMenuContentObjectTest. Initial workaround is replacing the mock with
a real object.

Review

  • Code review CR 0

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

  • Verified V 0

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

Issues 1

Files 3