Skip to content

Commit 3196f9f

Browse files
committed
fixed CS
1 parent ecbaebc commit 3196f9f

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Console/Descriptor/MarkdownDescriptor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ protected function describeContainerService($service, array $options = array())
113113
} elseif ($service instanceof Definition) {
114114
$this->describeContainerDefinition($service, $childOptions);
115115
} else {
116-
$this->write(sprintf("**`%s`:** `%s`", $options['id'], get_class($service)));
116+
$this->write(sprintf('**`%s`:** `%s`', $options['id'], get_class($service)));
117117
}
118118
}
119119

Console/Descriptor/TextDescriptor.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ protected function describeContainerServices(ContainerBuilder $builder, array $o
212212
foreach ($definition->getTag($showTag) as $key => $tag) {
213213
$tagValues = array();
214214
foreach ($tagsNames as $tagName) {
215-
$tagValues[] = isset($tag[$tagName]) ? $tag[$tagName] : "";
215+
$tagValues[] = isset($tag[$tagName]) ? $tag[$tagName] : '';
216216
}
217217
if (0 === $key) {
218218
$table->addRow(array_merge(array($serviceId), $tagValues, array($definition->getClass())));
@@ -225,10 +225,10 @@ protected function describeContainerServices(ContainerBuilder $builder, array $o
225225
}
226226
} elseif ($definition instanceof Alias) {
227227
$alias = $definition;
228-
$table->addRow(array_merge(array($serviceId, sprintf('alias for "%s"', $alias)), $tagsCount ? array_fill(0, $tagsCount, "") : array()));
228+
$table->addRow(array_merge(array($serviceId, sprintf('alias for "%s"', $alias)), $tagsCount ? array_fill(0, $tagsCount, '') : array()));
229229
} else {
230230
// we have no information (happens with "service_container")
231-
$table->addRow(array_merge(array($serviceId, get_class($definition)), $tagsCount ? array_fill(0, $tagsCount, "") : array()));
231+
$table->addRow(array_merge(array($serviceId, get_class($definition)), $tagsCount ? array_fill(0, $tagsCount, '') : array()));
232232
}
233233
}
234234

@@ -245,7 +245,7 @@ protected function describeContainerDefinition(Definition $definition, array $op
245245
: array();
246246

247247
$description[] = sprintf('<comment>Service Id</comment> %s', isset($options['id']) ? $options['id'] : '-');
248-
$description[] = sprintf('<comment>Class</comment> %s', $definition->getClass() ?: "-");
248+
$description[] = sprintf('<comment>Class</comment> %s', $definition->getClass() ?: '-');
249249

250250
$tags = $definition->getTags();
251251
if (count($tags)) {

Tests/Console/Descriptor/ObjectsProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public static function getContainerDefinitions()
114114

115115
/**
116116
* @deprecated since version 2.7, to be removed in 3.0
117+
*
117118
* @internal
118119
*/
119120
public static function getLegacyContainerDefinitions()

0 commit comments

Comments
 (0)