8000 [DependencyInjection] Fix dumping containers with null-referenced ser… · symfonyaml/symfony@45a5994 · GitHub
[go: up one dir, main page]

Skip to content

Commit 45a5994

Browse files
[DependencyInjection] Fix dumping containers with null-referenced services
1 parent 0db5e7e commit 45a5994

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
@@ -259,6 +259,7 @@ public function dump(array $options = []): string|array
259259
<?php
260260
261261
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
262+
use Symfony\Component\DependencyInjection\ContainerInterface;
262263
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
263264
264265
/*{$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)
0