Skip to content

Commit e69f459

Browse files
Add code style fixes
1 parent 807b9be commit e69f459

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/Routing/Tests/Generator/Dumper/PhpGeneratorDumperTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ protected function setUp()
4646

4747
$this->routeCollection = new RouteCollection();
4848
$this->generatorDumper = new PhpGeneratorDumper($this->routeCollection);
49-
$this->testTmpFilepath = sys_get_temp_dir().DIRECTORY_SEPARATOR.'php_generator.'.$this->getName().'.php';
50-
$this->largeTestTmpFilepath = sys_get_temp_dir().DIRECTORY_SEPARATOR.'php_generator.'.$this->getName().'.large.php';
49+
$this->testTmpFilepath = sys_get_temp_dir().\DIRECTORY_SEPARATOR.'php_generator.'.$this->getName().'.php';
50+
$this->largeTestTmpFilepath = sys_get_temp_dir().\DIRECTORY_SEPARATOR.'php_generator.'.$this->getName().'.large.php';
5151
@unlink($this->testTmpFilepath);
5252
@unlink($this->largeTestTmpFilepath);
5353
}

src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ public function testRfc1738UrlEncoding()
360360
$chars = '@:[]/()*\'" +,;-._~&$<>|{}%\\^`!?foo=bar#id';
361361
$routes = $this->getRoutes('test', new Route("/$chars/{varpath}", array(), array('varpath' => '.+')));
362362

363-
$generator = $this->getGenerator($routes,[], null, PHP_QUERY_RFC1738);
363+
$generator = $this->getGenerator($routes, array(), null, PHP_QUERY_RFC1738);
364364

365365
$this->assertSame($expectedPath, $generator->generate('test', array(
366366
'varpath' => $chars,

0 commit comments

Comments
 (0)