10000 minor #52646 [Serializer] Remove wrong final tags (mtarld) · symfony/symfony@19c0d9a · GitHub
[go: up one dir, main page]

Skip to content

Commit 19c0d9a

Browse files
minor #52646 [Serializer] Remove wrong final tags (mtarld)
This PR was merged into the 6.4 branch. Discussion ---------- [Serializer] Remove wrong final tags | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT ~When ``@final`` was added to `Groups` and `Context`, the related and therefore deprecated tests weren't removed. This PR removes them.~ According to #52646 (comment), `final` should not have been added to attributes in the first time, this PR removes them. Commits ------- 74eeada [Serializer] Remove wrong final tags
2 parents 80db691 + 74eeada commit 19c0d9a

File tree

7 files changed

+0
-14
lines changed

7 files changed

+0
-14
lines changed

src/Symfony/Component/Serializer/Attribute/Context.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* @Target({"PROPERTY", "METHOD"})
2222
*
2323
* @author Maxime Steinhausser <maxime.steinhausser@g 8000 mail.com>
24-
*
25-
* @final since Symfony 6.4
2624
*/
2725
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
2826
class Context

src/Symfony/Component/Serializer/Attribute/DiscriminatorMap.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* @Target({"CLASS"})
2222
*
2323
* @author Samuel Roze <samuel.roze@gmail.com>
24-
*
25-
* @final since Symfony 6.4
2624
*/
2725
#[\Attribute(\Attribute::TARGET_CLASS)]
2826
class DiscriminatorMap

src/Symfony/Component/Serializer/Attribute/Groups.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* @Target({"PROPERTY", "METHOD", "CLASS"})
2222
*
2323
* @author Kévin Dunglas <dunglas@gmail.com>
24-
*
25-
* @final since Symfony 6.4
2624
*/
2725
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY | \Attribute::TARGET_CLASS)]
2826
class Groups

src/Symfony/Component/Serializer/Attribute/Ignore.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
* @Target({"PROPERTY", "METHOD"})
1919
*
2020
* @author Kévin Dunglas <dunglas@gmail.com>
21-
*
22-
* @final since Symfony 6.4
2321
*/
2422
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)]
2523
class Ignore

src/Symfony/Component/Serializer/Attribute/MaxDepth.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* @Target({"PROPERTY", "METHOD"})
2222
*
2323
* @author Kévin Dunglas <dunglas@gmail.com>
24-
*
25-
* @final since Symfony 6.4
2624
*/
2725
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)]
2826
class MaxDepth

src/Symfony/Component/Serializer/Attribute/SerializedName.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
* @Target({"PROPERTY", "METHOD"})
2222
*
2323
* @author Fabien Bourigault <bourigaultfabien@gmail.com>
24-
*
25-
* @final since Symfony 6.4
2624
*/
2725
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)]
2826
class SerializedName

src/Symfony/Component/Serializer/Attribute/SerializedPath.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
* @Target({"PROPERTY", "METHOD"})
2424
*
2525
* @author Tobias Bönner <tobi@boenner.family>
26-
*
27-
* @final since Symfony 6.4
2826
*/
2927
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)]
3028
class SerializedPath

0 commit comments

Comments
 (0)
0