From 2efb990a14f5535c17f2f566c7c4991c760a9fa1 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Wed, 23 Nov 2022 11:13:52 +0100 Subject: [PATCH] Remove deprecated options from FOSRest Also add a new alias for rulerz to remove a deprecation. --- app/config/config.yml | 8 +------- app/config/services.yml | 3 +++ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/config/config.yml b/app/config/config.yml index 7dc3698e2..50ba978c8 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -112,14 +112,8 @@ fos_rest: pdf: true epub: true mobi: true - templating_formats: - html: false - force_redirects: - html: true failed_validation: HTTP_BAD_REQUEST - default_engine: twig - routing_loader: - default_format: json + routing_loader: false format_listener: enabled: true rules: diff --git a/app/config/services.yml b/app/config/services.yml index a479b006a..637e7f6d0 100644 --- a/app/config/services.yml +++ b/app/config/services.yml @@ -159,6 +159,9 @@ services: calls: - ["addSubscriber", ["@bd_guzzle_site_authenticator.authenticator_subscriber"]] + RulerZ\RulerZ: + alias: rulerz + Wallabag\CoreBundle\Operator\PHP\Matches: tags: - { name: rulerz.operator, target: native, operator: matches }