Skip to content

Commit 0b99d83

Browse files
feature #54381 [Messenger] Allow extending attribute class AsMessageHandler (GromNaN)
This PR was merged into the 7.1 branch. Discussion ---------- [Messenger] Allow extending attribute class `AsMessageHandler` | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | - | License | MIT Revert #52971 which made `AsMessageHandler` final. Discussed in #54365 (comment) Commits ------- 9479563 Allow extending AsMessageHandler
2 parents e11d75c + 9479563 commit 0b99d83

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

UPGRADE-7.1.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ FrameworkBundle
2222

2323
* Mark classes `ConfigBuilderCacheWarmer`, `Router`, `SerializerCacheWarmer`, `TranslationsCacheWarmer`, `Translator` and `ValidatorCacheWarmer` as `final`
2424

25-
Messenger
26-
---------
27-
28-
* Make `#[AsMessageHandler]` final
29-
3025
SecurityBundle
3126
--------------
3227

src/Symfony/Component/Messenger/Attribute/AsMessageHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/**
1515
* Service tag to autoconfigure message handlers.
1616
*
17-
* @final since Symfony 7.1
18-
*
1917
* @author Alireza Mirsepassi <alirezamirsepassi@gmail.com>
2018
*/
2119
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]

src/Symfony/Component/Messenger/CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ CHANGELOG
66

77
* Add option `redis_sentinel` as an alias for `sentinel_master`
88
* Add `--all` option to the `messenger:consume` command
9-
* Make `#[AsMessageHandler]` final
109
* Add parameter `$jitter` to `MultiplierRetryStrategy` in order to randomize delay and prevent the thundering herd effect
1110

1211
7.0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy