Skip to content

Commit cbe6bc9

Browse files
committed
fixed CS
1 parent 1076a0f commit cbe6bc9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Symfony/Component/Finder/Tests/Shell/CommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function testGetMissingLabelException()
133133
public function testErrorHandler()
134134
{
135135
$cmd = Command::create();
136-
$handler = function() { return 'error-handler'; };
136+
$handler = function () { return 'error-handler'; };
137137
$cmd->setErrorHandler($handler);
138138

139139
$this->assertSame($handler, $cmd->getErrorHandler());

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ public function getContent($asResource = false)
14791479

14801480
// Content passed in parameter (test)
14811481
if (is_string($this->content)) {
1482-
$resource = fopen('php://temp','r+');
1482+
$resource = fopen('php://temp', 'r+');
14831483
fwrite($resource, $this->content);
14841484
rewind($resource);
14851485

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ public function testGetContentReturnsResourceWhenContentSetInConstructor()
934934

935935
public function testContentAsResource()
936936
{
937-
$resource = fopen('php://memory','r+');
937+
$resource = fopen('php://memory', 'r+');
938938
fwrite($resource, 'My other content');
939939
rewind($resource);
940940

0 commit comments

Comments
 (0)