[ticket/13056] Move the arguments of the request class to the DI

PHPBB3-13056
Merge pull request #2943 from Nicofuma/ticket/13056

[ticket/13056] Move the arguments of the request class to the DI

* Nicofuma/ticket/13056:
  [ticket/13056] Move the arguments of the request class to the DI