From b81dca2b976be7a81cdb9c1e58efc43310f5ad15 Mon Sep 17 00:00:00 2001 From: Farhad Safarov Date: Fri, 1 Sep 2017 19:49:37 +0300 Subject: [PATCH 1/3] Update performance.rst Deprecated suggestion --- performance.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/performance.rst b/performance.rst index 5b4b01eb48d..12a99c4ab46 100644 --- a/performance.rst +++ b/performance.rst @@ -165,8 +165,12 @@ For more details, see :doc:`/components/class_loader/cache_class_loader`. .. index:: single: Performance; Bootstrap files -Use Bootstrap Files -------------------- +Use Bootstrap Files (For < PHP 7) +--------------------------------- + +.. note:: + + For PHP 7 and higher versions it is not necessary. It is deprecated for Symfony 4.0. To ensure optimal flexibility and code reuse, Symfony applications leverage a variety of classes and 3rd party components. But loading all of these classes From 0b55792f79ced72cf61fa63e79145357ead6694f Mon Sep 17 00:00:00 2001 From: Farhad Safarov Date: Sun, 3 Sep 2017 22:17:39 +0300 Subject: [PATCH 2/3] Update performance.rst --- performance.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/performance.rst b/performance.rst index 12a99c4ab46..08bffe02221 100644 --- a/performance.rst +++ b/performance.rst @@ -165,12 +165,14 @@ For more details, see :doc:`/components/class_loader/cache_class_loader`. .. index:: single: Performance; Bootstrap files -Use Bootstrap Files (For < PHP 7) ---------------------------------- +Use Bootstrap Files +------------------- -.. note:: +.. caution:: - For PHP 7 and higher versions it is not necessary. It is deprecated for Symfony 4.0. + The performance optimalizations in PHP 7 removed any overhead. As such, + using the bootstrap file is discouraged when using PHP 7+ and was + deprecated in Symfony 4.0. To ensure optimal flexibility and code reuse, Symfony applications leverage a variety of classes and 3rd party components. But loading all of these classes From f28e767d459b7dc574f05937b71e7b8a123cf135 Mon Sep 17 00:00:00 2001 From: Farhad Safarov Date: Mon, 4 Sep 2017 12:38:58 +0300 Subject: [PATCH 3/3] Update performance.rst --- performance.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/performance.rst b/performance.rst index 08bffe02221..093c46261a9 100644 --- a/performance.rst +++ b/performance.rst @@ -172,7 +172,7 @@ Use Bootstrap Files The performance optimalizations in PHP 7 removed any overhead. As such, using the bootstrap file is discouraged when using PHP 7+ and was - deprecated in Symfony 4.0. + deprecated in Symfony 3.3 and it will be removed in 4.0. To ensure optimal flexibility and code reuse, Symfony applications leverage a variety of classes and 3rd party components. But loading all of these classes