@@ -87,7 +87,7 @@ public function testFluentMutators(): void
87
87
$ commandTester = new CommandTester (new GenerateTypesCommand ());
88
88
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
89
89
90
- $ person = file_get_contents ("$ outputDir/AppBundle /Entity/Person.php " );
90
+ $ person = file_get_contents ("$ outputDir/App /Entity/Person.php " );
91
91
$ this ->assertStringContainsString (<<<'PHP'
92
92
public function setUrl(?string $url): self
93
93
{
@@ -126,7 +126,7 @@ public function testDoNotGenerateAccessorMethods(): void
126
126
$ commandTester = new CommandTester (new GenerateTypesCommand ());
127
127
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
128
128
129
- $ person = file_get_contents ("$ outputDir/AppBundle /Entity/Person.php " );
129
+ $ person = file_get_contents ("$ outputDir/App /Entity/Person.php " );
130
130
$ this ->assertStringNotContainsString ('function get ' , $ person );
131
131
$ this ->assertStringNotContainsString ('function set ' , $ person );
132
132
$ this ->assertStringNotContainsString ('function add ' , $ person );
@@ -143,7 +143,7 @@ public function testImplicitAndExplicitPropertyInheritance(): void
143
143
$ commandTester = new CommandTester (new GenerateTypesCommand ());
144
144
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
145
145
146
- $ creativeWork = file_get_contents ("$ outputDir/AppBundle /Entity/CreativeWork.php " );
146
+ $ creativeWork = file_get_contents ("$ outputDir/App /Entity/CreativeWork.php " );
147
147
$ this ->assertStringContainsString ('class CreativeWork extends Thing ' , $ creativeWork );
148
148
$ this ->assertStringContainsString ('private $copyrightYear; ' , $ creativeWork );
149
149
$ this ->assertStringContainsString ('function getCopyrightYear( ' , $ creativeWork );
@@ -152,7 +152,7 @@ public function testImplicitAndExplicitPropertyInheritance(): void
152
152
$ this ->assertStringNotContainsString ('function getName( ' , $ creativeWork );
153
153
$ this ->assertStringNotContainsString ('function setName( ' , $ creativeWork );
154
154
155
- $ webPage = file_get_contents ("$ outputDir/AppBundle /Entity/WebPage.php " );
155
+ $ webPage = file_get_contents ("$ outputDir/App /Entity/WebPage.php " );
156
156
$ this ->assertStringContainsString ('class WebPage extends CreativeWork ' , $ webPage );
157
157
$ this ->assertStringContainsString ('private $mainEntity; ' , $ webPage );
158
158
$ this ->assertStringContainsString ('function getMainEntity( ' , $ webPage );
@@ -175,7 +175,7 @@ public function testReadableWritable(): void
175
175
$ commandTester = new CommandTester (new GenerateTypesCommand ());
176
176
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
177
177
178
- $ person = file_get_contents ("$ outputDir/AppBundle /Entity/Person.php " );
178
+ $ person = file_get_contents ("$ outputDir/App /Entity/Person.php " );
179
179
$ this ->assertStringContainsString ('private $sameAs; ' , $ person );
180
180
$ this ->assertStringContainsString ('public function getId( ' , $ person );
181
181
$ this ->assertStringNotContainsString ('function setId( ' , $ person );
@@ -197,7 +197,7 @@ public function testGeneratedId(): void
197
197
$ commandTester = new CommandTester (new GenerateTypesCommand ());
198
198
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
199
199
200
- $ person = file_get_contents ("$ outputDir/AppBundle /Entity/Person.php " );
200
+ $ person = file_get_contents ("$ outputDir/App /Entity/Person.php " );
201
201
202
202
$ this ->assertStringContainsString (<<<'PHP'
203
203
/**
@@ -232,7 +232,7 @@ public function testNonGeneratedId(): void
232
232
$ commandTester = new CommandTester (new GenerateTypesCommand ());
233
233
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
234
234
235
- $ person = file_get_contents ("$ outputDir/AppBundle /Entity/Person.php " );
235
+ $ person = file_get_contents ("$ outputDir/App /Entity/Person.php " );
236
236
237
237
$ this ->assertStringContainsString (<<<'PHP'
238
238
/**
@@ -266,7 +266,7 @@ public function testGeneratedUuid(): void
266
266
$ commandTester = new CommandTester (new GenerateTypesCommand ());
267
267
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
268
268
269
- $ person = file_get_contents ("$ outputDir/AppBundle /Entity/Person.php " );
269
+ $ person = file_get_contents ("$ outputDir/App /Entity/Person.php " );
270
270
271
271
$ this ->assertStringContainsString (<<<'PHP'
272
272
/**
@@ -302,7 +302,7 @@ public function testNonGeneratedUuid(): void
302
302
$ commandTester = new CommandTester (new GenerateTypesCommand ());
303
303
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
304
304
305
- $ person = file_get_contents ("$ outputDir/AppBundle /Entity/Person.php " );
305
+ $ person = file_get_contents ("$ outputDir/App /Entity/Person.php " );
306
306
307
307
$ this ->assertStringContainsString (<<<'PHP'
308
308
/**
@@ -337,7 +337,7 @@ public function testDoNotGenerateId(): void
337
337
$ commandTester = new CommandTester (new GenerateTypesCommand ());
338
338
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
339
339
340
- $ person = file_get_contents ("$ outputDir/AppBundle /Entity/Person.php " );
340
+ $ person = file_get_contents ("$ outputDir/App /Entity/Person.php " );
341
341
342
342
$ this ->assertStringNotContainsString ('$id ' , $ person );
343
343
$ this ->assertStringNotContainsString ('function getId ' , $ person );
@@ -391,7 +391,7 @@ public function testGeneratedEnum(): void
391
391
$ commandTester = new CommandTester (new GenerateTypesCommand ());
392
392
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
393
393
394
- $ gender = file_get_contents ("$ outputDir/AppBundle /Enum/GenderType.php " );
394
+ $ gender = file_get_contents ("$ outputDir/App /Enum/GenderType.php " );
395
395
396
396
$ this ->assertStringContainsString (<<<'PHP'
397
397
/**
@@ -414,7 +414,7 @@ public function testSupersededProperties(): void
414
414
$ commandTester = new CommandTester (new GenerateTypesCommand ());
415
415
$ this ->assertEquals (0 , $ commandTester ->execute (['output ' => $ outputDir , 'config ' => $ config ]));
416
416
417
- $ creativeWork = file_get_contents ("$ outputDir/AppBundle /Entity/CreativeWork.php " );
417
+ $ creativeWork = file_get_contents ("$ outputDir/App /Entity/CreativeWork.php " );
418
418
419
419
$ this ->assertStringContainsString (<<<'PHP'
420
420
/**
0 commit comments