8000 Added UPGRADE and CHANGELOG info · symfony/symfony@924e18c · GitHub
[go: up one dir, main page]

Skip to content

Commit 924e18c

Browse files
committed
Added UPGRADE and CHANGELOG info
1 parent 4374128 commit 924e18c

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
@@ -153,7 +153,7 @@ FrameworkBundle
153153
have been deprecated and will be removed in 4.0.
154154

155155
* Extending `ConstraintValidatorFactory` is deprecated and won't be supported in 4.0.
156-
156+
157157
* Class parameters related to routing have been deprecated and will be removed in 4.0.
158158
* router.options.generator_class
159159
* router.options.generator_base_class
@@ -168,8 +168,8 @@ FrameworkBundle
168168
has been deprecated and will be removed in 4.0. Use the `Symfony\Component\HttpKernel\DependencyInjection\ControllerArgumentValueResolverPass`
169169
class instead.
170170

171-
* The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RoutingResolverPass`
172-
class has been deprecated and will be removed in 4.0. Use the
171+
* The `Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\RoutingResolverPass`
172+
class has been deprecated and will be removed in 4.0. Use the
173173
`Symfony\Component\Routing\DependencyInjection\RoutingResolverPass` class instead.
174174

175175
HttpKernel
@@ -187,6 +187,12 @@ HttpKernel
187187
which will tell the Kernel to use the response code set on the event's
188188
response object.
189189

190+
* The `getEnvParameters()` method has been deprecated and will be removed in 4.0.
191+
192+
* The `SYMFONY__` environment variables have been deprecated and they will be
193+
no longer processed automatically by Symfony in 4.0. Use the `%env()%` syntax
194+
to get the value of any environment variable from configuration files instead.
195+
190196
Process
191197
-------
192198

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
@@ -4,6 +4,8 @@ CHANGELOG
44
3.3.0
55
-----
66

7+
* Deprecated `getEnvParameters`
8+
* Deprecated the special `SYMFONY__` environment variables
79
* added the possibility to change the query string parameter used by `UriSigner`
810
* deprecated `LazyLoadingFragmentHandler::addRendererService()`
911
* added `SessionListener`

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,8 +744,8 @@ public function testKernelRootDirNameStartingWithANumber()
744744

745745
/**
746746
* @group legacy
747-
* @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.
748-
* @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.
747+
* @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.
748+
* @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.
749749
*/
750750
public function testSymfonyEnvironmentVariables()
751751
{

0 commit comments

Comments
 (0)
0