We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a291402 + cd6ba7f commit 62a0ecdCopy full SHA for 62a0ecd
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
@@ -305,7 +305,17 @@ private function addProfilerSection(ArrayNodeDefinition $rootNode)
305
})
306
->end()
307
308
- ->scalarNode('lifetime')->defaultValue(86400)->end()
+ ->scalarNode('lifetime')
309
+ ->defaultValue(86400)
310
+ ->beforeNormalization()
311
+ ->always()
312
+ ->then(function ($v) {
313
+ @trigger_error('The profiler.lifetime configuration key is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
314
+
315
+ return $v;
316
+ })
317
+ ->end()
318
319
->arrayNode('matcher')
320
->canBeUnset()
321
->performNoDeepMerging()
0 commit comments