8000 minor #33882 [VarDumper] Made all casters final (lyrixx) · dontub/symfony@38ec2f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 38ec2f3

Browse files
minor symfony#33882 [VarDumper] Made all casters final (lyrixx)
This PR was merged into the 4.4 branch. Discussion ---------- [VarDumper] Made all casters final | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- 3044a91 [VarDumper] Made all casters final
2 parents b43f255 + 3044a91 commit 38ec2f3

22 files changed

+42
-2
lines changed

src/Symfony/Component/VarDumper/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ CHANGELOG
99
* added `ImagineCaster` and infrastructure to dump images
1010
* added the stamps of a message after it is dispatched in `TraceableMessageBus` and `MessengerDataCollector` collected data
1111
* added `UuidCaster`
12+
* made all casters final
1213

1314
4.3.0
1415
-----

src/Symfony/Component/VarDumper/Caster/AmqpCaster.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* Casts Amqp related classes to array representation.
1818
*
1919
* @author Grégoire Pineau <lyrixx@lyrixx.info>
20+
*
21+
* @final since Symfony 4.4
2022
*/
2123
class AmqpCaster
2224
{

src/Symfony/Component/VarDumper/Caster/DOMCaster.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* Casts DOM related classes to array representation.
1818
*
1919
* @author Nicolas Grekas <p@tchwork.com>
20+
*
21+
* @final since Symfony 4.4
2022
*/
2123
class DOMCaster
2224
{

src/Symfony/Component/VarDumper/Caster/DateCaster.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* Casts DateTimeInterface related classes to array representation.
1818
*
1919
* @author Dany Maillard <danymaillard93b@gmail.com>
20+
*
21+
* @final since Symfony 4.4
2022
*/
2123
class DateCaster
2224
{

src/Symfony/Component/VarDumper/Caster/DoctrineCaster.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* Casts Doctrine related classes to array representation.
2121
*
2222
* @author Nicolas Grekas <p@tchwork.com>
23+
*
24+
* @final since Symfony 4.4
2325
*/
2426
class DoctrineCaster
2527
{

src/Symfony/Component/VarDumper/Caster/DsCaster.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* Casts Ds extension classes to array representation.
2121
*
2222
* @author Jáchym Toušek <enumag@gmail.com>
23+
*
24+
* @final since Symfony 4.4
2325
*/
2426
class DsCaster
2527
{

src/Symfony/Component/VarDumper/Caster/ExceptionCaster.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
* Casts common Exception classes to array representation.
2020
*
2121
* @author Nicolas Grekas <p@tchwork.com>
22+
*
23+
* @final since Symfony 4.4
2224
*/
2325
class ExceptionCaster
2426
{

src/Symfony/Component/VarDumper/Caster/GmpCaster.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
*
1919
* @author Hamza Amrouche <hamza.simperfit@gmail.com>
2020
* @author Nicolas Grekas <p@tchwork.com>
21+
*
22+
* @final since Symfony 4.4
2123
*/
2224
class GmpCaster
2325
{

src/Symfony/Component/VarDumper/Caster/ImagineCaster.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* @author Grégoire Pineau <lyrixx@lyrixx.info>
1919
*/
20-
class ImagineCaster
20+
final class ImagineCaster
2121
{
2222
public static function castImage(ImageInterface $c, array $a, Stub $stub, bool $isNested): array
2323
{

src/Symfony/Component/VarDumper/Caster/IntlCaster.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
/**
1717
* @author Nicolas Grekas <p@tchwork.com>
1818
* @author Jan Schädlich <jan.schaedlich@sensiolabs.de>
19+
*
20+
* @final since Symfony 4.4
1921
*/
2022
class IntlCaster
2123
{

0 commit comments

Comments
 (0)
0