From e2632f63fd25b2118f4bc71b4def3a86139edbed Mon Sep 17 00:00:00 2001 From: David Greminger Date: Tue, 8 Aug 2023 09:44:32 +0200 Subject: [PATCH 1/2] Revert "supports env variables in configuration (#277)" This reverts commit 04a6994e767e299f37e98c0d55f6784f386e1f08. --- src/DependencyInjection/OneupFlysystemExtension.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/DependencyInjection/OneupFlysystemExtension.php b/src/DependencyInjection/OneupFlysystemExtension.php index 151e615..394deb4 100644 --- a/src/DependencyInjection/OneupFlysystemExtension.php +++ b/src/DependencyInjection/OneupFlysystemExtension.php @@ -29,9 +29,6 @@ public function load(array $configs, ContainerBuilder $container): void $configuration = new Configuration($adapterFactories); $config = $this->processConfiguration($configuration, $configs); - /** @var array $config */ - $config = $container->resolveEnvPlaceholders($config, true); - $loader->load('adapters.xml'); $loader->load('flysystem.xml'); From 2f028b71d281bfd47dbbccab37f6c51691d40dbb Mon Sep 17 00:00:00 2001 From: David Greminger Date: Tue, 8 Aug 2023 09:44:36 +0200 Subject: [PATCH 2/2] Revert "Update docs" This reverts commit 85d2928bfc8e0c1e68a3e6c0e5a122872ed125a0. --- doc/index.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc/index.md b/doc/index.md index d37b071..8e7291c 100644 --- a/doc/index.md +++ b/doc/index.md @@ -67,12 +67,6 @@ oneup_flysystem: # optional - defines the default visibility of directories: `public` or `private` (default) directory_visibility: private - - # example - using environment variable for adapter - my_dynamic_filesystem: - adapter: '%app.filesystem_dynamic.adapter%' - visibility: private - directory_visibility: private ``` There are a bunch of adapters for you to use: