Skip to content

Commit e91d61f

Browse files
committed
minor #11305 [DX] Added line feed to container alias description (text descriptor) (Maxime Douailin)
This PR was merged into the 2.6-dev branch. Discussion ---------- [DX] Added line feed to container alias description (text descriptor) | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | N/A This PR just adds a line feed at the end of the alias service description delivered by the ContainerDebugCommand. Tests are passing because expected outputs are trimmed before comparison (which IMO is not a really good thing, but hey...) Commits ------- 13c011c Added line feed to container alias description (text descriptor)
2 parents 3443cd8 + 1869f08 commit e91d61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Console/Descriptor/TextDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ protected function describeContainerDefinition(Definition $definition, array $op
273273
*/
274274
protected function describeContainerAlias(Alias $alias, array $options = array())
275275
{
276-
$this->writeText(sprintf('This service is an alias for the service <info>%s</info>', (string) $alias), $options);
276+
$this->writeText(sprintf("This service is an alias for the service <info>%s</info>\n", (string) $alias), $options);
277277
}
278278

279279
/**

0 commit comments

Comments
 (0)