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
Nicolas Grekas 672fbf5a2b bug #33670 [DI] Service locators can't be decorated (malarzm)
This PR was squashed before being merged into the 4.3 branch.

Discussion
----------

[DI] Service locators can't be decorated

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | n/a
| License       | MIT
| Doc PR        | n/a

This popped up while I was trying to update my work project as we have decorated the `messenger.receiver_locator` service. Not sure if this is a regression in DI or a change in messenger that caused the issue thus I'm not marking this as a BC break.

Exception while trying to compile the container:

```
Invalid definition for service "Symfony\Component\DependencyInjection\Tests\Compiler\DecoratedServiceLocator": an array of references is expected as first argument when the "container.service_locator" tag is set.
```

Expected result: service locator can be decorated.

Commits
-------

343282b9d4 [DI] Service locators can't be decorated
2019-12-17 11:22:17 +01:00
..
Asset Remove superfluous phpdoc tags 2019-08-14 13:59:53 +02:00
BrowserKit Merge branch '3.4' into 4.3 2019-10-28 18:07:32 +01:00
Cache [Cache] Fix wrong classname in deprecation message 2019-12-14 09:13:00 +01:00
Config Merge branch '3.4' into 4.3 2019-12-16 12:02:49 +01:00
Console Fix displaying anonymous classes on PHP 7.4 2019-12-16 15:20:08 +01:00
CssSelector Merge branch '3.4' into 4.3 2019-10-02 10:36:26 +02:00
Debug Fix displaying anonymous classes on PHP 7.4 2019-12-16 15:20:08 +01:00
DependencyInjection bug #33670 [DI] Service locators can't be decorated (malarzm) 2019-12-17 11:22:17 +01:00
DomCrawler Merge branch '3.4' into 4.3 2019-10-28 18:07:32 +01:00
Dotenv [DotEnv] Remove usePutEnv property default value 2019-12-06 12:04:06 +01:00
EventDispatcher Fix tests 2019-11-28 14:25:45 +01:00
ExpressionLanguage Merge branch '3.4' into 4.3 2019-12-10 11:30:59 +01:00
Filesystem Merge branch '3.4' into 4.3 2019-11-26 04:44:44 +01:00
Finder Merge branch '3.4' into 4.3 2019-11-17 22:56:13 +01:00
Form Merge branch '3.4' into 4.3 2019-12-16 12:02:49 +01:00
HttpClient bug #34554 [HttpClient] Fix early cleanup of pushed HTTP/2 responses (lyrixx) 2019-11-28 15:09:27 +01:00
HttpFoundation Merge branch '3.4' into 4.3 2019-12-10 11:30:59 +01:00
HttpKernel Merge branch '3.4' into 4.3 2019-12-16 12:02:49 +01:00
Inflector add species to inflector and inflector tests 2019-11-05 20:58:22 +01:00
Intl [Intl] [Workflow] fixes English grammar typos 2019-11-25 17:40:38 +01:00
Ldap Merge branch '3.4' into 4.3 2019-12-01 09:34:52 +01:00
Lock Merge branch '3.4' into 4.3 2019-09-24 17:54:14 +02:00
Mailer [4.3] Remove unused local variables 2019-10-30 13:58:49 +01:00
Messenger bug #34956 [Messenger][AMQP] Use delivery_mode=2 by default (lyrixx) 2019-12-15 14:44:54 +01:00
Mime [Mime] fix guessing mime-types of files with leading dash 2019-11-12 14:10:02 +01:00
OptionsResolver Fix an error message to be more accurate 2019-10-28 16:59:01 -04:00
Process Revert "minor #34608 [Process] add tests for php executable finder if file does not exist (ahmedash95)" 2019-11-28 11:05:51 +01:00
PropertyAccess Merge branch '3.4' into 4.3 2019-12-10 11:30:59 +01:00
PropertyInfo [PropertyInfo] Fixed type extraction for nullable collections of non-nullable elements 2019-11-03 13:19:12 +01:00
Routing [Routing] fix memoryleak when loading compiled routes 2019-12-10 15:07:26 +01:00
Security Merge branch '3.4' into 4.3 2019-12-16 12:02:49 +01:00
Serializer Merge branch '3.4' into 4.3 2019-12-16 12:02:49 +01:00
Stopwatch Merge branch '3.4' into 4.3 2019-11-05 15:48:09 +01:00
Templating Merge branch '3.4' into 4.3 2019-10-28 18:07:32 +01:00
Translation Merge branch '3.4' into 4.3 2019-12-12 13:39:14 +01:00
Validator minor #34994 [Validator] skip not applicable tests (xabbuh) 2019-12-16 12:34:11 +01:00
VarDumper Fix displaying anonymous classes on PHP 7.4 2019-12-16 15:20:08 +01:00
VarExporter Fix CS 2019-12-01 09:39:44 +01:00
WebLink Disable phpunit typehint patch on 4.3 branch 2019-08-08 11:29:19 +02:00
Workflow gracefully handle missing event dispatchers 2019-12-06 19:13:02 +01:00
Yaml Merge branch '3.4' into 4.3 2019-12-10 11:30:59 +01:00