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
Fabien Potencier 12f5636eae bug #22976 [DependencyInjection] Use more clear message when unused environment variables detected (voronkovich)
This PR was squashed before being merged into the 3.2 branch (closes #22976).

Discussion
----------

[DependencyInjection] Use more clear message when unused environment variables detected

| Q             | A
| ------------- | ---
| Branch?       |3.2
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #22955
| License       | MIT

Old error message:
```
Incompatible use of dynamic environment variables "DATABASE_URL", "MAILER_URL" found in parameters.
```

New error message:
```
Environment variables "DATABASE_URL", "MAILER_URL" are never used. Please, check your container's configuration.
```

Commits
-------

6dbdb1b750 [DependencyInjection] Use more clear message when unused environment variables detected
2017-06-03 08:50:21 -07:00
..
Compiler [3.2] Prevent double registrations related to tag priorities 2017-04-12 17:25:29 +02:00
Config [DI] fix Autowiring tests of #18144 2016-04-13 08:43:21 +02:00
Dumper [DependencyInjection] Use more clear message when unused environment variables detected 2017-06-03 08:50:11 -07:00
Exception [DependencyInjection] Use more clear message when unused environment variables detected 2017-06-03 08:50:11 -07:00
Extension [DependencyInjection] fix phpDoc 2016-04-11 16:45:49 +02:00
LazyProxy fixed CS 2016-06-29 07:42:25 +02:00
Loader Merge branch '2.8' into 3.2 2017-04-05 23:38:45 +02:00
ParameterBag [DI] Allow null as default env value 2016-11-23 14:12:24 +01:00
Tests bug #22976 [DependencyInjection] Use more clear message when unused environment variables detected (voronkovich) 2017-06-03 08:50:21 -07:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
Alias.php [DependencyInjection] fix phpDoc 2016-04-11 16:45:49 +02:00
CHANGELOG.md [DI] Added missing deprecation in changelog 2017-05-20 22:16:10 +02:00
composer.json fixed Composer constraints 2017-02-18 10:28:08 -08:00
Container.php [DI] Check privates before aliases consistently 2017-05-24 16:36:51 +02:00
ContainerAwareInterface.php [DI] Clean a phpdoc 2015-11-04 19:12:53 +01:00
ContainerAwareTrait.php Merge branch '2.3' into 2.7 2015-11-04 19:50:51 +01:00
ContainerBuilder.php [DI] Check for privates before shared services 2017-05-23 19:58:02 +02:00
ContainerInterface.php Merge branch '2.8' 2015-09-29 16:08:28 +02:00
Definition.php Merge branch '2.8' into 3.2 2017-05-07 18:51:21 -07:00
DefinitionDecorator.php Merge branch '2.8' into 3.1 2016-12-27 11:43:25 +01:00
ExpressionLanguage.php Fixed minor typo - override 2015-01-03 21:58:03 +01:00
ExpressionLanguageProvider.php [DependencyInjection] added support for custom expression language functions 2014-09-25 19:08:38 +02:00
LICENSE updated LICENSE year 2017-01-02 12:30:00 -08:00
Parameter.php [DependencyInjection] fix phpDoc 2016-04-11 16:45:49 +02:00
phpunit.xml.dist fail when detecting risky tests 2017-04-12 09:39:27 +02:00
README.md Updated all the README files 2016-03-04 08:12:06 +01:00
Reference.php Merge branch '2.8' into 3.0 2016-04-14 17:30:28 +02:00
ResettableContainerInterface.php Implement resettable containers 2015-07-22 10:09:28 +02:00
TaggedContainerInterface.php remove api tags from code 2015-09-28 19:11:22 +02:00
Variable.php [DependencyInjection] fix phpDoc 2016-04-11 16:45:49 +02:00

DependencyInjection Component

The DependencyInjection component allows you to standardize and centralize the way objects are constructed in your application.

Resources