Skip to content

Commit 8914878

Browse files
committed
minor symfony#18496 [FrameworkBundle] Deprecate terminate_on_cache_hit option (javiereguiluz)
This PR was merged into the 6.2 branch. Discussion ---------- [FrameworkBundle] Deprecate `terminate_on_cache_hit` option It looks strange to add an option in 6.2 and deprecate it in the same version but: https://github.com/nicolas-grekas/symfony/blob/19940ffcfe9bbae825ca951f1bb4c78a8a84f9ad/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php#L245 This is needed before working on symfony#18491. Commits ------- b7297ec [FrameworkBundle] Deprecate terminate_on_cache_hit option
2 parents 1d6ff9c + b7297ec commit 8914878

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/configuration/framework.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ bootstrap the Symfony framework on a cache hit.
171171

172172
The ``terminate_on_cache_hit`` option was introduced in Symfony 6.2.
173173

174+
.. deprecated:: 6.2
175+
176+
Setting the ``terminate_on_cache_hit`` option to ``true`` was deprecated in
177+
Symfony 6.2 and the option will be removed in Symfony 7.0.
178+
174179
.. _configuration-framework-http_method_override:
175180

176181
http_method_override

0 commit comments

Comments
 (0)