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 8872833c5d feature #22527 [DI] Throw useful exception on bad XML argument tags (nicolas-grekas)
This PR was merged into the 3.3-dev branch.

Discussion
----------

[DI] Throw useful exception on bad XML argument tags

| Q             | A
| ------------- | ---
| Branch?       | 3.3
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #22525
| License       | MIT
| Doc PR        | -

I still think that the feature request in #22525 would make things better.
But at least, let's make thing fail loudly, instead of silently today, with the associated usual wtfs :)

Commits
-------

91828ecd17 [DI] Throw useful exception on bad XML argument tags
2017-04-29 09:33:57 -07:00
..
Argument [DI] Fix inlining conflict by restricting IteratorArgument to Reference[] 2017-04-21 14:38:43 +02:00
Compiler Not allowing autoconfigure, instanceofConditionals or defaults for ChildDefinition 2017-04-28 17:09:21 -04:00
Config [DI][Router][DX] Invalidate routing cache when container parameters changed 2017-03-05 20:24:24 +01:00
Dumper Merge branch '3.2' 2017-04-25 21:46:15 -04:00
Exception Implement PSR-11 2017-02-02 08:42:59 +01:00
Extension [DI] Don't instantiate unexisting reflection class 2017-02-16 15:59:55 +01:00
LazyProxy Revert "feature #20973 [DI] Add getter injection (nicolas-grekas)" 2017-03-25 15:07:47 +01:00
Loader feature #22527 [DI] Throw useful exception on bad XML argument tags (nicolas-grekas) 2017-04-29 09:33:57 -07:00
ParameterBag [DI] Allow null as default env value 2016-11-23 14:12:24 +01:00
Tests feature #22563 Not allowing autoconfigure, instanceofConditionals or defaults for ChildDefinition (weaverryan) 2017-04-29 08:25:33 -07:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
Alias.php [DI] Enhance DX by throwing instead of triggering a deprecation notice 2017-03-28 08:18:44 +02:00
CHANGELOG.md Add a note about the ServiceLocator class in the changelog 2017-04-13 11:59:51 +02:00
ChildDefinition.php Not allowing autoconfigure, instanceofConditionals or defaults for ChildDefinition 2017-04-28 17:09:21 -04:00
composer.json fixed Composer constraints 2017-02-18 10:28:08 -08:00
Container.php [DI] Enhance DX by throwing instead of triggering a deprecation notice 2017-03-28 08:18:44 +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 Not allowing autoconfigure, instanceofConditionals or defaults for ChildDefinition 2017-04-28 17:09:21 -04:00
ContainerInterface.php Implement PSR-11 2017-02-02 08:42:59 +01:00
Definition.php [DI] Introducing autoconfigure: automatic _instanceof configuration 2017-04-20 11:20:30 -06: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 [DI] Enhance DX by throwing instead of triggering a deprecation notice 2017-03-28 08:18:44 +02:00
ResettableContainerInterface.php Implement resettable containers 2015-07-22 10:09:28 +02:00
ServiceLocator.php [DI] Remove useless state from ServiceLocator 2017-03-16 19:18:58 +01:00
ServiceSubscriberInterface.php [DI] Add and wire ServiceSubscriberInterface 2017-03-22 20:26:09 +01:00
TaggedContainerInterface.php remove api tags from code 2015-09-28 19:11:22 +02:00
TypedReference.php [DI] Restrict autowired registration to "same-vendor" namespaces 2017-04-06 11:28:30 +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