Skip to content

Commit ab767c1

Browse files
committed
CS: Convert double quotes to single quotes
1 parent 9b716e0 commit ab767c1

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

DataCollector/DataCollector.php

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

54-
return sprintf("Array(%s)", implode(', ', $a));
54+
return sprintf('Array(%s)', implode(', ', $a));
5555
}
5656

5757
if (is_resource($var)) {

Event/FilterControllerEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private function varToString($var)
8686
$a[] = sprintf('%s => %s', $k, $this->varToString($v));
8787
}
8888

89-
return sprintf("Array(%s)", implode(', ', $a));
89+
return sprintf('Array(%s)', implode(', ', $a));
9090
}
9191

9292
if (is_resource($var)) {

HttpKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ private function varToString($var)
219219
$a[] = sprintf('%s => %s', $k, $this->varToString($v));
220220
}
221221

222-
return sprintf("Array(%s)", implode(', ', $a));
222+
return sprintf('Array(%s)', implode(', ', $a));
223223
}
224224

225225
if (is_resource($var)) {

Tests/HttpCache/HttpCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ public function testEsiCacheSendsTheLowestTtl()
10691069
$this->setNextResponses($responses);
10701070

10711071
$this->request('GET', '/', array(), array(), true);
1072-
$this->assertEquals("Hello World! My name is Bobby.", $this->response->getContent());
1072+
$this->assertEquals('Hello World! My name is Bobby.', $this->response->getContent());
10731073

10741074
// check for 100 or 99 as the test can be executed after a second change
10751075
$this->assertTrue(in_array($this->response->getTtl(), array(99, 100)));

Tests/Profiler/FileProfilerStorageTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function testReadLineFromFile()
9494
fwrite($h, "line1\n\n\nline2\n");
9595
fseek($h, 0, SEEK_END);
9696

97-
$this->assertEquals("line2", $r->invoke(self::$storage, $h));
98-
$this->assertEquals("line1", $r->invoke(self::$storage, $h));
97+
$this->assertEquals('line2', $r->invoke(self::$storage, $h));
98+
$this->assertEquals('line1', $r->invoke(self::$storage, $h));
9999
}
100100
}

0 commit comments

Comments
 (0)