Skip to content

Commit c9f4ed8

Browse files
Merge branch '4.4' into 5.0
* 4.4: cs fix
2 parents 593dff7 + 7b3ee61 commit c9f4ed8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/Translation/TranslatorTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function testTransWithCachingWithInvalidLocale()
109109

110110
public function testLoadResourcesWithoutCaching()
111111
{
112-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
112+
$loader = new YamlFileLoader();
113113
$resourceFiles = [
114114
'fr' => [
115115
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
@@ -186,7 +186,7 @@ public function getDebugModeAndCacheDirCombinations()
186186

187187
public function testCatalogResourcesAreAddedForScannedDirectories()
188188
{
189-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
189+
$loader = new YamlFileLoader();
190190
$resourceFiles = [
191191
'fr' => [
192192
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
@@ -348,7 +348,7 @@ public function getTranslator($loader, $options = [], $loaderFomat = 'loader', $
348348

349349
public function testWarmup()
350350
{
351-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
351+
$loader = new YamlFileLoader();
352352
$resourceFiles = [
353353
'fr' => [
354354
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
@@ -373,7 +373,7 @@ public function testWarmup()
373373

374374
public function testLoadingTranslationFilesWithDotsInMessageDomain()
375375
{
376-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
376+
$loader = new YamlFileLoader();
377377
$resourceFiles = [
378378
'en' => [
379379
__DIR__.'/../Fixtures/Resources/translations/domain.with.dots.en.yml',

0 commit comments

Comments
 (0)