@@ -119,13 +119,13 @@ public function testAddService()
119
119
// without compilation
120
120
$ container = include self ::$ fixturesPath .'/containers/container9.php ' ;
121
121
$ dumper = new PhpDumper ($ container );
122
- $ this ->assertStringEqualsFile (self ::$ fixturesPath .'/php/services9.php ' , str_replace (str_replace ('\\' , '\\\\' , self ::$ fixturesPath .DIRECTORY_SEPARATOR .'includes ' .DIRECTORY_SEPARATOR ), '%path% ' , $ dumper ->dump ()), '->dump() dumps services ' );
122
+ $ this ->assertStringEqualsFile (self ::$ fixturesPath .'/php/services9.php ' , str_replace (str_replace ('\\' , '\\\\' , self ::$ fixturesPath .\ DIRECTORY_SEPARATOR .'includes ' .\ DIRECTORY_SEPARATOR ), '%path% ' , $ dumper ->dump ()), '->dump() dumps services ' );
123
123
124
124
// with compilation
125
125
$ container = include self ::$ fixturesPath .'/containers/container9.php ' ;
126
126
$ container ->compile ();
127
127
$ dumper = new PhpDumper ($ container );
128
- $ this ->assertStringEqualsFile (self ::$ fixturesPath .'/php/services9_compiled.php ' , str_replace (str_replace ('\\' , '\\\\' , self ::$ fixturesPath .DIRECTORY_SEPARATOR .'includes ' .DIRECTORY_SEPARATOR ), '%path% ' , $ dumper ->dump ()), '->dump() dumps services ' );
128
+ $ this ->assertStringEqualsFile (self ::$ fixturesPath .'/php/services9_compiled.php ' , str_replace (str_replace ('\\' , '\\\\' , self ::$ fixturesPath .\ DIRECTORY_SEPARATOR .'includes ' .\ DIRECTORY_SEPARATOR ), '%path% ' , $ dumper ->dump ()), '->dump() dumps services ' );
129
129
130
130
$ dumper = new PhpDumper ($ container = new ContainerBuilder ());
131
131
$ container ->register ('foo ' , 'FooClass ' )->addArgument (new \stdClass ());
@@ -145,7 +145,7 @@ public function testLegacySynchronizedServices()
145
145
{
146
146
$ container = include self ::$ fixturesPath .'/containers/container20.php ' ;
147
147
$ dumper = new PhpDumper ($ container );
148
- $ this ->assertStringEqualsFile (self ::$ fixturesPath .'/php/services20.php ' , str_replace (str_replace ('\\' , '\\\\' , self ::$ fixturesPath .DIRECTORY_SEPARATOR .'includes ' .DIRECTORY_SEPARATOR ), '%path% ' , $ dumper ->dump ()), '->dump() dumps services ' );
148
+ $ this ->assertStringEqualsFile (self ::$ fixturesPath .'/php/services20.php ' , str_replace (str_replace ('\\' , '\\\\' , self ::$ fixturesPath .\ DIRECTORY_SEPARATOR .'includes ' .\ DIRECTORY_SEPARATOR ), '%path% ' , $ dumper ->dump ()), '->dump() dumps services ' );
149
149
}
150
150
151
151
public function testServicesWithAnonymousFactories ()
0 commit comments