From df953f038e1044032573711026b5b704ff86808c Mon Sep 17 00:00:00 2001 From: Andreas Allacher Date: Thu, 1 Sep 2022 07:19:29 +0200 Subject: [PATCH] [FrameworkBundle] Allow secrets vaults to be used directly outside Symfony --- src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md | 1 + src/Symfony/Bundle/FrameworkBundle/Secrets/AbstractVault.php | 2 -- src/Symfony/Bundle/FrameworkBundle/Secrets/DotenvVault.php | 2 -- src/Symfony/Bundle/FrameworkBundle/Secrets/SodiumVault.php | 2 -- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md b/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md index d738ac9cae80b..f65024e1b3ec2 100644 --- a/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md +++ b/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md @@ -16,6 +16,7 @@ CHANGELOG tagged with `workflow.workflow`, and those with type=state_machine with `workflow.state_machine` * Add `rate_limiter` configuration option to `messenger.transport` to allow rate limited transports using the RateLimiter component + * Remove `@internal` tag from secret vaults to allow them to be used directly outside the framework bundle and custom vaults to be added 6.1 --- diff --git a/src/Symfony/Bundle/FrameworkBundle/Secrets/AbstractVault.php b/src/Symfony/Bundle/FrameworkBundle/Secrets/AbstractVault.php index eeecbbb68b683..cfa4bab13c3a6 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Secrets/AbstractVault.php +++ b/src/Symfony/Bundle/FrameworkBundle/Secrets/AbstractVault.php @@ -13,8 +13,6 @@ /** * @author Nicolas Grekas - * - * @internal */ abstract class AbstractVault { diff --git a/src/Symfony/Bundle/FrameworkBundle/Secrets/DotenvVault.php b/src/Symfony/Bundle/FrameworkBundle/Secrets/DotenvVault.php index 4fa7c40bf8d72..db4891c34b337 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Secrets/DotenvVault.php +++ b/src/Symfony/Bundle/FrameworkBundle/Secrets/DotenvVault.php @@ -13,8 +13,6 @@ /** * @author Nicolas Grekas - * - * @internal */ class DotenvVault extends AbstractVault { diff --git a/src/Symfony/Bundle/FrameworkBundle/Secrets/SodiumVault.php b/src/Symfony/Bundle/FrameworkBundle/Secrets/SodiumVault.php index ff1cd7fb87908..e8ce7d8f95eec 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Secrets/SodiumVault.php +++ b/src/Symfony/Bundle/FrameworkBundle/Secrets/SodiumVault.php @@ -18,8 +18,6 @@ * @author Tobias Schultze * @author Jérémy Derussé * @author Nicolas Grekas - * - * @internal */ class SodiumVault extends AbstractVault implements EnvVarLoaderInterface {