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/Bundle/FrameworkBundle
Tobias Schultze 497ce74f9e bug #27229 [Messenger] Rename tag attribute "name" by "alias" (yceruto)
This PR was merged into the 4.1 branch.

Discussion
----------

[Messenger] Rename tag attribute "name" by "alias"

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

As "name" is a reserved attribute in YAML and XML schema it makes impossible to register manually a custom Sender or Receiver with another "name" attribute.

> The file ".../demos/messenger-flex/config/services.yaml" does not contain valid YAML.
Duplicate key "name" detected at line 30 (near "- { name: 'messenger.receiver', name: 'mail' }").

Commits
-------

1ef27a7e6a Rename tag attribute "name" by "alias"
2018-05-11 11:17:32 +02:00
..
CacheWarmer Merge branch '4.0' 2018-04-20 13:04:56 +02:00
Command Merge branch '4.0' 2018-05-07 10:32:19 +02:00
Console [DI][FrameworkBundle] Hide service ids that start with a dot 2018-04-20 15:14:43 +02:00
Controller declare type for arguments of anonymous functions for v2.7 2018-04-20 06:20:29 +02:00
DataCollector [Messenger] Move data collector & command into the component 2018-04-05 17:21:58 +02:00
DependencyInjection bug #27229 [Messenger] Rename tag attribute "name" by "alias" (yceruto) 2018-05-11 11:17:32 +02:00
EventListener Deprecate bundle:controller:action and service:method notation 2018-02-21 06:14:04 +01:00
HttpCache Revert "[FrameworkBundle] Partially revert HttpCache is not longer abstract (4d075da)" 2018-04-02 13:58:37 +02:00
Kernel Deprecate bundle:controller:action and service:method notation 2018-02-21 06:14:04 +01:00
Resources minor #27203 [Messenger][DX] Uses a default receiver when only one is defined (sroze) 2018-05-09 15:41:23 +01:00
Routing Merge branch '4.0' 2018-02-26 18:04:28 +01:00
Templating Merge branch '4.0' 2018-04-20 13:04:56 +02:00
Test [FrameworkBundle] Allow fetching private services from test clients 2018-03-13 12:50:01 +01:00
Tests Rename tag attribute "name" by "alias" 2018-05-10 17:13:07 -04:00
Translation [Translator] Further postpone adding resource files 2018-04-26 14:20:27 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md [FrameworkBundle] feature: add the ability to search a route 2018-03-21 10:40:34 +01:00
Client.php [FrameworkBundle] Allow fetching private services from test clients 2018-03-13 12:50:01 +01:00
composer.json bug #27209 [Workflow] add is deprecated since Symfony 4.1. Use addWorkflow() instead (xkobal) 2018-05-09 17:27:38 +02:00
FrameworkBundle.php Merge branch '4.0' 2018-04-30 10:00:18 -07:00
LICENSE fixed years in copyright 2018-01-03 08:23:28 +01:00
phpunit.xml.dist Merge branch '3.2' 2017-04-12 07:14:56 -07:00
README.md add readme files where missing 2016-03-07 11:36:15 +01:00