Skip to content

Commit 65c5897

Browse files
committed
CS: Convert double quotes to single quotes
1 parent 20a9126 commit 65c5897

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Definition/ReferenceDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ private function writeNode(NodeInterface $node, $depth = 0)
120120
if ($info = $node->getInfo()) {
121121
$this->writeLine('');
122122
// indenting multi-line info
123-
$info = str_replace("\n", sprintf("\n%".($depth * 4)."s# ", ' '), $info);
123+
$info = str_replace("\n", sprintf("\n%".($depth * 4).'s# ', ' '), $info);
124124
$this->writeLine('# '.$info, $depth * 4);
125125
}
126126

Exception/FileLoaderLoadException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function varToString($var)
5757
$a[] = sprintf('%s => %s', $k, $this->varToString($v));
5858
}
5959

60-
return sprintf("Array(%s)", implode(', ', $a));
60+
return sprintf('Array(%s)', implode(', ', $a));
6161
}
6262

6363
if (is_resource($var)) {

Tests/Fixtures/Configuration/ExampleConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function getConfigTreeBuilder()
4141
->info(
4242
"this is a long\n".
4343
"multi-line info text\n".
44-
"which should be indented"
44+
'which should be indented'
4545
)
4646
->example('example setting')
4747
->end()

0 commit comments

Comments
 (0)