Skip to content

Commit 727fda6

Browse files
Merge branch '7.4' into 8.0
* 7.4: [TypeInfo] Simple array should be array type Handle signals on text input [TwigBridge] Fix form constraint [Runtime] Reuse the already created Request object when the app needs it as argument returns a kernel [Config] Fix array shape generation for backed enums [Config] Define `TreeBuilder` default generic type Update validators.el.xlf Fix MoneyType: add missing step attribute when html5=true [JsonStreamer] fix invalid json output for list of self [Console] Preserve `--help` option when a command is not found [FrameworkBundle] Fix using `FailedMessages*Command` with `SigningSerializer` [Lock] Fix unserializing already serialized Key payloads [HttpClient] CachingHttpClient must run after UriTemplate and Scoping Only register PhpConfigReferenceDumpPass in dev env with debug flag enabled [Messenger] Fix PHP 8.5 deprecation for pgsqlGetNotify() in PostgreSQL transport chore: PHP CS Fixer - do not use deprecated sets in config verify spanish translations with state needs-review-translation [Security] Fix OIDC discovery when using multiple HttpClient instances [DependencyInjection] Allow manual bindings on parameters with #[Target]
2 parents c76ddc9 + 26cc224 commit 727fda6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DependencyInjection/HttpClientPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function process(ContainerBuilder $container): void
2727

2828
foreach ($container->findTaggedServiceIds('http_client.client') as $id => $tags) {
2929
$container->register('.debug.'.$id, TraceableHttpClient::class)
30-
->setDecoratedService($id, null, 5)
30+
->setDecoratedService($id, null, 100)
3131
->setArguments([new Reference('.inner'), new Reference('debug.stopwatch', ContainerInterface::IGNORE_ON_INVALID_REFERENCE), new Reference('profiler.is_disabled_state_checker', ContainerInterface::IGNORE_ON_INVALID_REFERENCE)])
3232
->addTag('kernel.reset', ['method' => 'reset']);
3333
$container->getDefinition('data_collector.http_client')

Tests/DependencyInjection/HttpClientPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testItDecoratesHttpClientWithTraceableHttpClient()
3838
$sut->process($container);
3939
$this->assertTrue($container->hasDefinition('.debug.foo'));
4040
$this->assertSame(TraceableHttpClient::class, $container->getDefinition('.debug.foo')->getClass());
41-
$this->assertSame(['foo', null, 5], $container->getDefinition('.debug.foo')->getDecoratedService());
41+
$this->assertSame(['foo', null, 100], $container->getDefinition('.debug.foo')->getDecoratedService());
4242
}
4343

4444
public function testItRegistersDebugHttpClientToCollector()

0 commit comments

Comments
 (0)