Remove explicit reference to Symfony\Component\HttpFoundation\Request object in CivicrmController::main(). Provide  argument instead.