From f60ef696de36644875790089bcc0e804341589ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 11 Dec 2025 13:49:45 +0100 Subject: [PATCH] Inject `NullProofValidator` implementation for `ProofValidatorInterface` in the dev environment - Added a service definition for `ChampsLibres\WopiLib\Contract\Service\ProofValidatorInterface` in `services.yaml` to use `Chill\WopiBundle\Service\Wopi\NullProofValidator` exclusively in the dev environment. --- config/services.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/services.yaml b/config/services.yaml index 11c095d99..037b57f6d 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -11,3 +11,6 @@ services: autowire: true # Automatically injects dependencies in your services. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc. +when@dev: + services: + ChampsLibres\WopiLib\Contract\Service\ProofValidatorInterface: '@Chill\WopiBundle\Service\Wopi\NullProofValidator'