@@ -147,7 +147,7 @@ public function testTransWithCachingWithInvalidLocale()
147
147
148
148
public function testLoadResourcesWithoutCaching ()
149
149
{
150
- $ loader = new \ Symfony \ Component \ Translation \ Loader \ YamlFileLoader ();
150
+ $ loader = new YamlFileLoader ();
151
151
$ resourceFiles = [
152
152
'fr ' => [
153
153
__DIR__ .'/../Fixtures/Resources/translations/messages.fr.yml ' ,
@@ -224,7 +224,7 @@ public function getDebugModeAndCacheDirCombinations()
224
224
225
225
public function testCatalogResourcesAreAddedForScannedDirectories ()
226
226
{
227
- $ loader = new \ Symfony \ Component \ Translation \ Loader \ YamlFileLoader ();
227
+ $ loader = new YamlFileLoader ();
228
228
$ resourceFiles = [
229
229
'fr ' => [
230
230
__DIR__ .'/../Fixtures/Resources/translations/messages.fr.yml ' ,
@@ -386,7 +386,7 @@ public function getTranslator($loader, $options = [], $loaderFomat = 'loader', $
386
386
387
387
public function testWarmup ()
388
388
{
389
- $ loader = new \ Symfony \ Component \ Translation \ Loader \ YamlFileLoader ();
389
+ $ loader = new YamlFileLoader ();
390
390
$ resourceFiles = [
391
391
'fr ' => [
392
392
__DIR__ .'/../Fixtures/Resources/translations/messages.fr.yml ' ,
@@ -411,7 +411,7 @@ public function testWarmup()
411
411
412
412
public function testLoadingTranslationFilesWithDotsInMessageDomain ()
413
413
{
414
- $ loader = new \ Symfony \ Component \ Translation \ Loader \ YamlFileLoader ();
414
+ $ loader = new YamlFileLoader ();
415
415
$ resourceFiles = [
416
416
'en ' => [
417
417
__DIR__ .'/../Fixtures/Resources/translations/domain.with.dots.en.yml ' ,
0 commit comments