Skip to content

Commit

Permalink
Merge branch '6.4' into 7.1
Browse files Browse the repository at this point in the history
* 6.4:
  [VarDumper] Fix generator dump format for PHP 8.4
  • Loading branch information
xabbuh committed Aug 12, 2024
2 parents 86af461 + 397992d commit 380ecec
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Tests/Caster/ReflectionCasterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -552,11 +552,11 @@ public function testGenerator()
function: "Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::baz"
this: Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo { …}
%s: {
%sGeneratorDemo.php:14 {
%sGeneratorDemo.php:12 {
Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo->baz()
› public function baz()
› {
› yield from bar();
› }
}
Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo->baz() {}
%A}
Expand All @@ -577,7 +577,9 @@ function: "Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::baz"
%s: {
%s%eTests%eFixtures%eGeneratorDemo.php:%d {
Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::foo()
%A › yield 1;
› {
› yield 1;
› }
%A }
%s%eTests%eFixtures%eGeneratorDemo.php:20 { …}
%s%eTests%eFixtures%eGeneratorDemo.php:14 { …}
Expand All @@ -589,9 +591,9 @@ function: "Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::foo"
%s: {
%s%eTests%eFixtures%eGeneratorDemo.php:%d {
Symfony\Component\VarDumper\Tests\Fixtures\GeneratorDemo::foo()
› {
› yield 1;
› }
}
%A }
closed: false
Expand Down

0 comments on commit 380ecec

Please sign in to comment.