This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/DependencyInjection/Tests
Grégoire Pineau ce2764d416 [DependencyInjection] Highest precedence for user parameters
If `router.request_context.host` is defined in `parameters.yml` and if this
key is used in `globals` section of twig bundle then the value registered in the
DIC/parameters is the default value (`localhost`).

It occurs because generall the framework bundle is defined before the twig
bundle. So after the first loop, the (user) value registered in the
`ContainerBuilder` is overridden by the default value of the framework bundle.
And so, when it comes the time to process twig bundle, the last one gets the
default value, and not the user value.

This patch force the merge of default value, but give an highest precedence of
user parameters for each extensions.
2015-03-18 10:30:04 +01:00
..
Compiler [DependencyInjection] Highest precedence for user parameters 2015-03-18 10:30:04 +01:00
Dumper remove unused code 2015-03-16 15:31:07 +01:00
Extension fixed CS 2014-09-22 10:32:35 +02:00
Fixtures fix missing comma in YamlDumper 2015-01-11 18:40:41 +01:00
LazyProxy [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
Loader [2.3] Remove useless tests skips 2015-01-03 14:14:51 +01:00
ParameterBag [DependencyInjection] fixed ? position in some exception messages (refs #7861) 2013-05-01 06:24:56 +02:00
ContainerBuilderTest.php [DependencyInjection] fixed service resolution for factories 2015-03-11 09:33:49 +01:00
ContainerTest.php Fix initialized() with aliased services 2014-11-25 12:27:34 +01:00
CrossCheckTest.php [2.3] Remove useless tests skips 2015-01-03 14:14:51 +01:00
DefinitionDecoratorTest.php Merge branch '2.2' into 2.3 2013-11-25 15:49:41 +01:00
DefinitionTest.php Merge branch '2.2' into 2.3 2013-11-25 15:49:41 +01:00
ParameterTest.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
ReferenceTest.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00