Skip to content

Commit 6b22f43

Browse files
committed
Using raw_output instead, which seems to be consistent with "I don't want styling tags"
1 parent ed07611 commit 6b22f43

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ protected function describeContainerServices(ContainerBuilder $builder, array $o
224224

225225
$tableHeaders = array_merge(array('Service ID'), $tagsNames, array('Class name'));
226226
$tableRows = array();
227-
$rawOutput = isset($options['raw_output']) && $options['raw_output'];
227+
$rawOutput = isset($options['raw_text']) && $options['raw_text'];
228228
foreach ($this->sortServiceIds($serviceIds) as $serviceId) {
229229
$definition = $this->resolveServiceDefinition($builder, $serviceId);
230230
$styledServiceId = $rawOutput ? $serviceId : sprintf('<fg=cyan>%s</fg=cyan>', $serviceId);

src/Symfony/Bundle/FrameworkBundle/Tests/Console/Descriptor/AbstractDescriptorTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ abstract protected function getFormat();
183183
private function assertDescription($expectedDescription, $describedObject, array $options = array())
184184
{
185185
$options['raw_output'] = true;
186+
$options['raw_text'] = true;
186187
$output = new BufferedOutput(BufferedOutput::VERBOSITY_NORMAL, true);
187188

188189
if ('txt' === $this->getFormat()) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy