Skip to content

Commit d36f842

Browse files
authored
chore: cleanup varnish_client service (#4872)
1 parent bb19074 commit d36f842

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/Symfony/Bundle/Resources/config/http_cache_purger.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
66

77
<services>
8-
<!-- TODO: remove this in 3.0 -->
9-
<service id="api_platform.http_cache.purger.varnish_client" class="GuzzleHttp\Client" abstract="true" public="false" />
108
<service id="api_platform.http_cache.purger.varnish" alias="api_platform.http_cache.purger.varnish.ban" public="false" />
119
<service id="api_platform.http_cache.purger.varnish.ban" class="ApiPlatform\HttpCache\VarnishPurger" public="false" />
1210
<service id="api_platform.http_cache.purger.varnish.xkey" class="ApiPlatform\HttpCache\VarnishXKeyPurger" public="false">

tests/Symfony/Bundle/DependencyInjection/ApiPlatformExtensionTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,6 @@ public function testHttpCacheConfiguration(): void
836836
'api_platform.doctrine.listener.http_cache.purge',
837837

838838
// http_cache_tags.xml
839-
'api_platform.http_cache.purger.varnish_client',
840839
'api_platform.http_cache.purger.varnish.xkey',
841840
'api_platform.http_cache.purger.varnish.ban',
842841
'api_platform.http_cache.listener.response.add_tags',

0 commit comments

Comments
 (0)