Review main Merged

48352[TASK] Deprecate path prefixes in callUserFunction and getUserObj

Benni Mack CR +2 V +2 Normal +65 −17 updated 05/28/16, 12:26

Commit message

The possibility to call "GeneralUtility::callUserFunc()"
and "getUserObj()" with the first parameter containing the file reference
to the function or class separated by a colon is deprecated.

An example is "EXT:realurl/class.tx_realurl.php:tx_realurl->encodeSpURL".

Calling one of the methods above with this syntax now triggers a
deprecation message.

It is encouraged to use the common autoloading functionality of
composer or via the fallback autoloader by TYPO3 to achieve the
same functionality.

Review

  • Code review CR +2
    • Markus Klein +2
    • Wouter Wolters +1
  • Verified V +2
    • Markus Klein +2
    • Wouter Wolters +1

Issues 1

Files 5

Review log 8

  1. Benni Mack uploaded patch set 1 05/28/16, 11:31

  2. Markus Klein uploaded patch set 2 05/28/16, 11:48

  3. Markus Klein uploaded patch set 3 05/28/16, 12:07

  4. Markus Klein voted on patch set 3 CR +1 V +1 05/28/16, 12:10

  5. Markus Klein uploaded patch set 4 05/28/16, 12:21

  6. Wouter Wolters voted on patch set 4 CR +1 V +1 05/28/16, 12:24

  7. Markus Klein voted on patch set 4 CR +2 V +2 05/28/16, 12:26

  8. Gerrit merged patch set 4 05/28/16, 12:26