@@ -60,7 +60,7 @@ public function testDumpWithRoutes()
60
60
$ this ->routeCollection ->add ('Test2 ' , new Route ('/testing2 ' ));
61
61
62
62
file_put_contents ($ this ->testTmpFilepath , $ this ->generatorDumper ->dump ());
63
- include ( $ this ->testTmpFilepath ) ;
63
+ include $ this ->testTmpFilepath ;
64
64
65
65
$ projectUrlGenerator = new \ProjectUrlGenerator (new RequestContext ('/app.php ' ));
66
66
@@ -81,7 +81,7 @@ public function testDumpWithRoutes()
81
81
public function testDumpWithoutRoutes ()
82
82
{
83
83
file_put_contents ($ this ->testTmpFilepath , $ this ->generatorDumper ->dump (array ('class ' => 'WithoutRoutesUrlGenerator ' )));
84
- include ( $ this ->testTmpFilepath ) ;
84
+ include $ this ->testTmpFilepath ;
85
85
86
86
$ projectUrlGenerator = new \WithoutRoutesUrlGenerator (new RequestContext ('/app.php ' ));
87
87
@@ -96,7 +96,7 @@ public function testGenerateNonExistingRoute()
96
96
$ this ->routeCollection ->add ('Test ' , new Route ('/test ' ));
97
97
98
98
file_put_contents ($ this ->testTmpFilepath , $ this ->generatorDumper ->dump (array ('class ' => 'NonExistingRoutesUrlGenerator ' )));
99
- include ( $ this ->testTmpFilepath ) ;
99
+ include $ this ->testTmpFilepath ;
100
100
101
101
$ projectUrlGenerator = new \NonExistingRoutesUrlGenerator (new RequestContext ());
102
102
$ url = $ projectUrlGenerator ->generate ('NonExisting ' , array ());
@@ -107,7 +107,7 @@ public function testDumpForRouteWithDefaults()
107
107
$ this ->routeCollection ->add ('Test ' , new Route ('/testing/{foo} ' , array ('foo ' => 'bar ' )));
108
108
109
109
file_put_contents ($ this ->testTmpFilepath , $ this ->generatorDumper ->dump (array ('class ' => 'DefaultRoutesUrlGenerator ' )));
110
- include ( $ this ->testTmpFilepath ) ;
110
+ include $ this ->testTmpFilepath ;
111
111
112
112
$ projectUrlGenerator = new \DefaultRoutesUrlGenerator (new RequestContext ());
113
113
$ url = $ projectUrlGenerator ->generate ('Test ' , array ());
@@ -121,7 +121,7 @@ public function testDumpWithSchemeRequirement()
121
121
$ this ->routeCollection ->add ('Test2 ' , new Route ('/testing_bc ' , array (), array ('_scheme ' => 'https ' ))); // BC
122
122
123
123
file_put_contents ($ this ->testTmpFilepath , $ this ->generatorDumper ->dump (array ('class ' => 'SchemeUrlGenerator ' )));
124
- include ( $ this ->testTmpFilepath ) ;
124
+ include $ this ->testTmpFilepath ;
125
125
126
126
$ projectUrlGenerator = new \SchemeUrlGenerator (new RequestContext ('/app.php ' ));
127
127
0 commit comments