Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2a89505

Browse filesBrowse files
bug #52808 [DependencyInjection] Fix dumping containers with null-referenced services (nicolas-grekas)
This PR was merged into the 6.3 branch. Discussion ---------- [DependencyInjection] Fix dumping containers with null-referenced services | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #52596 | License | MIT Backporting #52597 to 6.3 /cc `@connorhu` Commits ------- 45a5994 [DependencyInjection] Fix dumping containers with null-referenced services
2 parents fd5bc71 + 45a5994 commit 2a89505
Copy full SHA for 2a89505

File tree

5 files changed

+5
-0
lines changed
Filter options

5 files changed

+5
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
+1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10_as_files.txt
+1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_as_files.txt
+1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_deprecated_parameters_as_files.txt
+1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services_non_shared_lazy_as_files.txt
+1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.