Skip to content

Commit 188b423

Browse files
[VarExporter] List required properties in lazy traits
1 parent c801a39 commit 188b423

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

Tests/Fixtures/php/services_dedup_lazy_ghost.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ class stdClass_5a8a5eb extends \stdClass implements \Symfony\Component\VarExport
7575
{
7676
use \Symfony\Component\VarExporter\LazyGhostTrait;
7777

78-
private int $lazyObjectId;
79-
8078
private const LAZY_OBJECT_PROPERTY_SCOPES = [];
8179
}
8280

Tests/Fixtures/php/services_non_shared_lazy_as_files.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ class FooLazyClass_f814e3a extends \Bar\FooLazyClass implements \Symfony\Compone
4545
{
4646
use \Symfony\Component\VarExporter\LazyGhostTrait;
4747

48-
private int $lazyObjectId;
49-
5048
private const LAZY_OBJECT_PROPERTY_SCOPES = [];
5149
}
5250

Tests/Fixtures/php/services_non_shared_lazy_ghost.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ class stdClass_5a8a5eb extends \stdClass implements \Symfony\Component\VarExport
7979
{
8080
use \Symfony\Component\VarExporter\LazyGhostTrait;
8181

82-
private int $lazyObjectId;
83-
8482
private const LAZY_OBJECT_PROPERTY_SCOPES = [];
8583
}
8684

Tests/Fixtures/php/services_wither_lazy.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ class Wither_94fa281 extends \Symfony\Component\DependencyInjection\Tests\Compil
7575
{
7676
use \Symfony\Component\VarExporter\LazyProxyTrait;
7777

78-
private int $lazyObjectId;
79-
private parent $lazyObjectReal;
80-
8178
private const LAZY_OBJECT_PROPERTY_SCOPES = [
8279
'lazyObjectReal' => [self::class, 'lazyObjectReal', null],
8380
"\0".self::class."\0lazyObjectReal" => [self::class, 'lazyObjectReal', null],

0 commit comments

Comments
 (0)