Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a3686fb

Browse filesBrowse 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
Copy full SHA for a3686fb

File tree

3 files changed

+8
-0
lines changed
Filter options

3 files changed

+8
-0
lines changed

‎UPGRADE-7.1.md

Copy file name to clipboardExpand all lines: UPGRADE-7.1.md
+5Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Attribute/AsMessageHandler.php
+2Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/CHANGELOG.md
+1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.