[DI] fix dumping deprecated service in yaml
This commit is contained in:
parent
d59f210d43
commit
411be25aba
@ -99,7 +99,7 @@ class YamlDumper extends Dumper
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($definition->isDeprecated()) {
|
if ($definition->isDeprecated()) {
|
||||||
$code .= sprintf(" deprecated: %s\n", $definition->getDeprecationMessage('%service_id%'));
|
$code .= sprintf(" deprecated: %s\n", $this->dumper->dump($definition->getDeprecationMessage('%service_id%')));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($definition->isAutowired()) {
|
if ($definition->isAutowired()) {
|
||||||
|
Reference in New Issue
Block a user