8000 [DI] Fix missing new line after private alias · symfony/symfony@101a165 · GitHub
[go: up one dir, main page]

Skip to content

Commit 101a165

Browse files
committed
[DI] Fix missing new line after private alias
1 parent e9f2512 commit 101a165

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private function addServiceAlias($alias, $id)
165165
return sprintf(" %s: '@%s'\n", $alias, $id);
166166
}
167167

168-
return sprintf(" %s:\n alias: %s\n public: false", $alias, $id);
168+
return sprintf(" %s:\n alias: %s\n public: false\n", $alias, $id);
169169
}
170170

171171
/**

src/Symfony/Component/DependencyInjection/Tests/Fixtures/yaml/services6.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ services:
2323
another_alias_for_foo:
2424
alias: foo
2525
public: false
26+
another_third_alias_for_foo:
27+
alias: foo
2628
decorator_service:
2729
decorates: decorated
2830
decorator_service_with_name:

0 commit comments

Comments
 (0)
0