Remove deprecated options from FOSRest

Also add a new alias for rulerz to remove a deprecation.
This commit is contained in:
Jeremy Benoist 2022-11-23 11:13:52 +01:00
parent b6ba8517a6
commit 2efb990a14
No known key found for this signature in database
GPG key ID: 7168D5DD29F38552
2 changed files with 4 additions and 7 deletions

View file

@ -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:

View file

@ -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 }