From feb6045b85949e8f2dd1b69aa761b9e5509beb1f Mon Sep 17 00:00:00 2001 From: Simon Berger Date: Fri, 23 Feb 2024 11:28:48 +0100 Subject: [PATCH] Fix PHP str_replace call with parameter #3 is null deprecation --- DependencyInjection/Factory/Resolver/AwsS3ResolverFactory.php | 2 +- .../Factory/Resolver/FlysystemResolverFactory.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DependencyInjection/Factory/Resolver/AwsS3ResolverFactory.php b/DependencyInjection/Factory/Resolver/AwsS3ResolverFactory.php index 29976cd3..75991911 100644 --- a/DependencyInjection/Factory/Resolver/AwsS3ResolverFactory.php +++ b/DependencyInjection/Factory/Resolver/AwsS3ResolverFactory.php @@ -92,7 +92,7 @@ public function addConfiguration(ArrayNodeDefinition $builder) ->cannotBeEmpty() ->end() ->scalarNode('cache_prefix') - ->defaultValue(null) + ->defaultValue('') ->end() ->arrayNode('client_config') ->isRequired() diff --git a/DependencyInjection/Factory/Resolver/FlysystemResolverFactory.php b/DependencyInjection/Factory/Resolver/FlysystemResolverFactory.php index 76e542bc..f6090aba 100644 --- a/DependencyInjection/Factory/Resolver/FlysystemResolverFactory.php +++ b/DependencyInjection/Factory/Resolver/FlysystemResolverFactory.php @@ -49,7 +49,7 @@ public function addConfiguration(ArrayNodeDefinition $builder) ->cannotBeEmpty() ->end() ->scalarNode('cache_prefix') - ->defaultValue(null) + ->defaultValue('') ->end() ->scalarNode('root_url') ->isRequired()