Skip to content

Commit 3482860

Browse files
committed
Added UPGRADE and CHANGELOG info
1 parent eef5504 commit 3482860

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

UPGRADE-3.3.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ FrameworkBundle
147147
have been deprecated and will be removed in 4.0.
148148

149149
* Extending `ConstraintValidatorFactory` is deprecated and won't be supported in 4.0.
150-
150+
151151
* Class parameters related to routing have been deprecated and will be removed in 4.0.
152152
* router.options.generator_class
153153
* router.options.generator_base_class
@@ -162,8 +162,8 @@ FrameworkBundle
162162
has been deprecated and will be removed in 4.0. Use the `Symfony\Component\HttpKernel\DependencyInjection\ControllerArgumentValueResolverPass`
163163
class instead.
164164

165-
* The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RoutingResolverPass`
166-
class has been deprecated and will be removed in 4.0. Use the
165+
* The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RoutingResolverPass`
166+
class has been deprecated and will be removed in 4.0. Use the
167167
`Symfony\Component\Routing\DependencyInjection\RoutingResolverPass` class instead.
168168

169169
HttpKernel
@@ -181,6 +181,12 @@ HttpKernel
181181
which will tell the Kernel to use the response code set on the event's
182182
response object.
183183

184+
* The `getEnvParameters()` method has been deprecated and will be removed in 4.0.
185+
186+
* The `SYMFONY__` environment variables have been deprecated and they will be
187+
no longer processed automatically by Symfony in 4.0. Use the `%env()%` syntax
188+
to get the value of any environment variable from configuration files instead.
189+
184190
Process
185191
-------
186192

UPGRADE-4.0.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ FrameworkBundle
268268
class instead.
269269

270270
* The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RoutingResolverPass`
271-
class has been removed. Use the
271+
class has been removed. Use the
272272
`Symfony\Component\Routing\DependencyInjection\RoutingResolverPass` class instead.
273273

274274
HttpFoundation
@@ -321,6 +321,12 @@ HttpKernel
321321
which will tell the Kernel to use the response code set on the event's
322322
response object.
323323

324+
* The `getEnvParameters()` method has been removed.
325+
326+
* The `SYMFONY__` environment variables are no longer processed automatically
327+
by Symfony. Use the `%env()%` syntax to get the value of any environment
328+
variable from configuration files instead.
329+
324330
Ldap
325331
----
326332

src/Symfony/Component/HttpKernel/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ CHANGELOG
77
* Deprecated `LazyLoadingFragmentHandler::addRendererService()`
88
* Added `SessionListener`
99
* Added `TestSessionListener`
10+
* Deprecated `getEnvParameters`
11+
* Deprecated the special `SYMFONY__` environment variables
1012

1113
3.2.0
1214
-----

src/Symfony/Component/HttpKernel/Tests/KernelTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,8 +736,8 @@ public function testKernelWithoutBundles()
736736

737737
/**
738738
* @group legacy
739-
* @expectedDeprecation The Symfony\Component\HttpKernel\Kernel::getEnvParameters() method is deprecated as of 3.3 and will be removed in 4.0. Use the %s syntax to get the value of any environment variable from configuration files instead.
740-
* @expectedDeprecation The support of special environment variables that start with SYMFONY__ (such as "SYMFONY__FOO__BAR") is deprecated as of 3.3 and will be removed in 4.0. Use the %env()% syntax instead to get the value of environment variables in configuration files.
739+
* @expectedDeprecation The Symfony\Component\HttpKernel\Kernel::getEnvParameters() method is deprecated as of 3.3 and will be removed in 4.0. Use the %c syntax to get the value of any environment variable from configuration files instead.
740+
* @expectedDeprecation The support of special environment variables that start with SYMFONY__ (such as "SYMFONY__FOO__BAR") is deprecated as of 3.3 and will be removed in 4.0. Use the %c syntax instead to get the value of environment variables in configuration files.
741741
*/
742742
public function testSymfonyEnvironmentVariables()
743743
{

0 commit comments

Comments
 (0)