Review main Merged

66553[TASK] Extbase controller actions must return ResponseInterface

Alexander Schnitzler CR +2 V +2 Hard +295 −41 updated 11/30/20, 09:58

Commit message

In the past, Extbase controller actions could return either void,
null, a string, or an object that implemented the __toString()
method. All those return types are now deprecated in favor of
an instance of \Psr\Http\Message\ResponseInterface (PSR-7).

Response objects can be created in the controller by using the
response factory which is injected into all action controllers.

Alternatively, custom response objects can be declared and used
as long as they implement the interface and are therefore PSR-7
compatible.

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 16