@@ -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
0 commit comments