8000 feature #52971 [Messenger] Make `#[AsMessageHandler]` final (Valmonzo) · symfony/symfony@a3686fb · GitHub
[go: up one dir, main page]

Skip to content

Commit a3686fb

Browse files
feature #52971 [Messenger] Make #[AsMessageHandler] final (Valmonzo)
This PR was squashed before being merged into the 7.1 branch. Discussion ---------- [Messenger] Make `#[AsMessageHandler]` final | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | yes | Issues | Fix #52898 | License | MIT #SymfonyHackDay Commits ------- f92e6c3 [Messenger] Make `#[AsMessageHandler]` final
2 parents 069d534 + f92e6c3 commit a3686fb

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

UPGRADE-7.1.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
UPGRADE FROM 7.0 to 7.1
22
=======================
33

4+
Messenger
5+
---------
6+
7+
* Make `#[AsMessageHandler]` final
8+
49
Workflow
510
--------
611

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

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

src/Symfony/Component/Messenger/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ 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
910

1011
7.0
1112
---

0 commit comments

Comments
 (0)
0