Skip to content

Commit 39c06e7

Browse files
committed
minor symfony#17149 CS: Single line comments should use double slashes (//) and not hash (#) (keradus)
This PR was merged into the 2.3 branch. Discussion ---------- CS: Single line comments should use double slashes (//) and not hash (#) | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | ? | Fixed tickets | N/A | License | MIT | Doc PR | N/A Just to be consistent ;) Commits ------- 4f0f8a2 CS: Single line comments should use double slashes (//) and not hash (#).
2 parents f409dd2 + 4f0f8a2 commit 39c06e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/HttpFoundation/Tests/RequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function testCreate()
215215
$this->assertEquals('/?foo', $request->getRequestUri());
216216
$this->assertEquals(array('foo' => ''), $request->query->all());
217217

218-
## assume rewrite rule: (.*) --> app/app.php ; app/ is a symlink to a symfony web/ directory
218+
// assume rewrite rule: (.*) --> app/app.php ; app/ is a symlink to a symfony web/ directory
219219
$request = Request::create('http://test.com/apparthotel-1234', 'GET', array(), array(), array(),
220220
array(
221221
'DOCUMENT_ROOT' => '/var/www/www.test.com',

src/Symfony/Component/HttpKernel/Tests/HttpCache/HttpCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ public function testFetchesFullResponseWhenCacheStaleAndNoValidatorsPresent()
716716
$this->assertTraceContains('store');
717717
$this->assertEquals('Hello World', $this->response->getContent());
718718

719-
# go in and play around with the cached metadata directly ...
719+
// go in and play around with the cached metadata directly ...
720720
$values = $this->getMetaStorageValues();
721721
$this->assertCount(1, $values);
722722
$tmp = unserialize($values[0]);

0 commit comments

Comments
 (0)