Review main Abandoned

44512[TASK] Allow use of TYPO3Fluid/Fluid without hacking

Claus Due CR 0 V 0 Easy +17 −0 updated 06/08/16, 19:34

Commit message

The only way to manipulate the composer autoloader
sufficiently to allow loading a package that replaces
a pseudo-package (e.g. typo3/cms-fluid) is to remove
the class loading entries provided by the TYPO3 core
via the root composer.json which cannot be replaced.

There are two ways of doing this:

1. Cumbersome composer installer scripts which are
    against the nature of composer and considered hacks;
    the script having to REWRITE a vital .php file.
2. A fast check in recorded PSR-4 prefixes in Bootstrap
    to dynamically remove the prefix for the package that
    is replaced; allowing the replacement prefix to remain
    and become the active one.

Essentially this allows installing a "TYPO3 Fluid Adapter"
to replace the core Fluid extension. It does so ONLY
when detecting that the standalone Fluid package is
indeed present.

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 1