Skip to content

Commit 8a1a7dc

Browse files
bug symfony#52597 [DependencyInjection] Fix dumping containers with null-referenced services (nicolas-grekas)
This PR was merged into the 7.0 branch. Discussion ---------- [DependencyInjection] Fix dumping containers with null-referenced services | Q | A | ------------- | --- | Branch? | 7.0 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix symfony#52596 | License | MIT Commits ------- 89f71ab [DependencyInjection] Fix dumping containers with null-referenced services
2 parents 18fa44a + 89f71ab commit 8a1a7dc

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ public function dump(array $options = []): string|array
243243
<?php
244244
245245
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
246+
use Symfony\Component\DependencyInjection\ContainerInterface;
246247
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
247248
248249
/*{$this->docStar}

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10_as_files.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ return [
1313
namespace Container%s;
1414

1515
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
16+
use Symfony\Component\DependencyInjection\ContainerInterface;
1617
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
1718

1819
/**

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_as_files.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ return [
2323
namespace Container%s;
2424

2525
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
26+
use Symfony\Component\DependencyInjection\ContainerInterface;
2627
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
2728

2829
/**

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_deprecated_parameters_as_files.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Array
55
namespace Container%s;
66

77
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
8+
use Symfony\Component\DependencyInjection\ContainerInterface;
89
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
910

1011
/**

src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Array
55
namespace Container%s;
66

77
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
8+
use Symfony\Component\DependencyInjection\ContainerInterface;
89
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
910

1011
/**

0 commit comments

Comments
 (0)