8000 [Routing] fixed CS · symfony/symfony@1240758 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1240758

Browse files
committed
[Routing] fixed CS
1 parent e223395 commit 1240758

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function testDumpWithRoutes()
6060
$this->routeCollection->add('Test2', new Route('/testing2'));
6161

6262
file_put_contents($this->testTmpFilepath, $this->generatorDumper->dump());
63-
include ($this->testTmpFilepath);
63+
include $this->testTmpFilepath;
6464

6565
$projectUrlGenerator = new \ProjectUrlGenerator(new RequestContext('/app.php'));
6666

@@ -81,7 +81,7 @@ public function testDumpWithRoutes()
8181
public function testDumpWithoutRoutes()
8282
{
8383
file_put_contents($this->testTmpFilepath, $this->generatorDumper->dump(array('class' => 'WithoutRoutesUrlGenerator')));
84-
include ($this->testTmpFilepath);
84+
include $this->testTmpFilepath;
8585

8686
$projectUrlGenerator = new \WithoutRoutesUrlGenerator(new RequestContext('/app.php'));
8787

@@ -96,7 +96,7 @@ public function testGenerateNonExistingRoute()
9696
$this->routeCollection->add('Test', new Route('/test'));
9797

9898
file_put_contents($this->testTmpFilepath, $this->generatorDumper->dump(array('class' => 'NonExistingRoutesUrlGenerator')));
99-
include ($this->testTmpFilepath);
99+
include $this->testTmpFilepath;
100100

101101
$projectUrlGenerator = new \NonExistingRoutesUrlGenerator(new RequestContext());
102102
$url = $projectUrlGenerator->generate('NonExisting', array());
@@ -107,7 +107,7 @@ public function testDumpForRouteWithDefaults()
107107
$this->routeCollection->add('Test', new Route('/testing/{foo}', array('foo' => 'bar')));
108108

109109
file_put_contents($this->testTmpFilepath, $this->generatorDumper->dump(array('class' => 'DefaultRoutesUrlGenerator')));
110-
include ($this->testTmpFilepath);
110+
include $this->testTmpFilepath;
111111

112112
$projectUrlGenerator = new \DefaultRoutesUrlGenerator(new RequestContext());
113113
$url = $projectUrlGenerator->generate('Test', array());
@@ -121,7 +121,7 @@ public function testDumpWithSchemeRequirement()
121121
$this->routeCollection->add('Test2', new Route('/testing_bc', array(), array('_scheme' => 'https'))); // BC
122122

123123
file_put_contents($this->testTmpFilepath, $this->generatorDumper->dump(array('class' => 'SchemeUrlGenerator')));
124-
include ($this->testTmpFilepath);
124+
include $this->testTmpFilepath;
125125

126126
$projectUrlGenerator = new \SchemeUrlGenerator(new RequestContext('/app.php'));
127127

< 329E /div>

0 commit comments

Comments
 (0)
0