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.
This commit is contained in:
2025-12-11 13:49:45 +01:00
parent 6e1c9b6f29
commit f60ef696de

View File

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