Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit6b22f43

Browse files
committed
Using raw_output instead, which seems to be consistent with "I don't want styling tags"
1 parented07611 commit6b22f43

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
privatefunctionassertDescription($expectedDescription,$describedObject,array$options =array())
184184
{
185185
$options['raw_output'] =true;
186+
$options['raw_text'] =true;
186187
$output =newBufferedOutput(BufferedOutput::VERBOSITY_NORMAL,true);
187188

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp