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
Fabien Potencier 958b0aeffc bug #22279 [DI] Fix anonymous factories/configurators support (GuilhemN)
This PR was squashed before being merged into the 3.3-dev branch (closes #22279).

Discussion
----------

[DI] Fix anonymous factories/configurators support

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no <!-- don't forget updating src/**/CHANGELOG.md files -->
| BC breaks?    | no
| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/pull/21999#discussion_r106019873
| License       | MIT
| Doc PR        |

Using prototypes / instanceof conditionals, anonymous factories are inlined using `Definition`, so a new instance will be created for every service created from the prototype / conditional which is inconsistent with the way other anonymous services are managed.

Commits
-------

dda43ed8ce [DI] Fix anonymous factories/configurators support
2017-04-05 06:16:31 -07:00
..
Asset Merge branch '3.2' 2017-04-04 09:47:41 +02:00
BrowserKit bug #21514 301 status code must drop request method to GET. (jlamur) 2017-03-14 13:25:39 -07:00
Cache Merge branch '3.2' 2017-04-04 09:47:41 +02:00
ClassLoader fixed Composer constraints 2017-02-18 11:13:35 -08:00
Config Merge branch '3.2' 2017-04-04 20:59:08 +02:00
Console bug #22261 [Console] Give errors back to error handler if not handled by console.error listeners (chalasr) 2017-04-04 08:00:37 -07:00
CssSelector Merge branch '3.2' 2017-02-21 11:07:34 +01:00
Debug Merge branch '3.2' 2017-04-04 09:47:41 +02:00
DependencyInjection bug #22279 [DI] Fix anonymous factories/configurators support (GuilhemN) 2017-04-05 06:16:31 -07:00
DomCrawler Merge branch '3.2' 2017-02-21 11:07:34 +01:00
Dotenv minor #22087 Fix some invalid phpdoc in the Dotenv class (stof) 2017-03-21 07:24:05 -07:00
EventDispatcher Merge branch '3.2' 2017-04-04 09:47:41 +02:00
ExpressionLanguage Merge branch '3.2' 2017-04-04 09:47:41 +02:00
Filesystem Merge branch '3.2' 2017-03-26 08:50:20 -07:00
Finder Merge branch '3.2' 2017-03-20 11:06:58 +01:00
Form Merge branch '3.2' 2017-04-04 21:00:44 +02:00
HttpFoundation Merge branch '3.2' 2017-04-04 20:59:08 +02:00
HttpKernel bumped Symfony version to 2.7.27 2017-04-03 21:47:45 -07:00
Inflector Merge branch '3.2' 2017-02-20 14:49:17 +01:00
Intl Rename TimeZoneTransformer into TimezoneTransformer 2017-03-14 11:55:49 -07:00
Ldap Merge branch '3.2' 2017-02-21 11:07:34 +01:00
Lock minor #22121 [Lock] Simplify BlockingTest (jderusse) 2017-04-02 19:33:59 +02:00
OptionsResolver Merge branch '3.2' 2017-03-21 14:44:47 -07:00
Process Merge branch '3.2' 2017-03-27 11:09:43 -07:00
PropertyAccess Merge branch '3.2' 2017-03-21 14:44:47 -07:00
PropertyInfo Merge branch '3.2' 2017-04-04 20:59:08 +02:00
Routing minor #21926 [Routing] Optimised dumped matcher (frankdejonge) 2017-03-22 12:45:31 -07:00
Security fixed wording 2017-04-04 12:45:53 -07:00
Serializer minor #22137 [Serializer][XmlEncoder] Added a FORMAT constant (Zarcox) 2017-04-03 15:04:25 -07:00
Stopwatch Merge branch '3.2' 2017-02-18 18:35:19 +01:00
Templating [2.8] Fix issues reported by static analyse 2017-02-28 15:08:20 +01:00
Translation Merge branch '3.2' 2017-03-21 14:44:47 -07:00
Validator [DI] add ServiceLocatorTagPass::register() to share service locators 2017-04-01 13:57:21 +02:00
VarDumper Revert "feature #20973 [DI] Add getter injection (nicolas-grekas)" 2017-03-25 15:07:47 +01:00
Workflow [Workflow] sync the changelog 2017-04-05 11:30:54 +02:00
Yaml [Component] [Yaml] [Parser] : can parse with trailing space as 2.8 2017-03-30 09:16:02 +02:00