8000 Merge branch '3.4' into 4.4 · symfony/symfony@f312e3c · GitHub
[go: up one dir, main page]

Skip to content

Commit f312e3c

Browse files
Merge branch '3.4' into 4.4
* 3.4: cs fix
2 parents 03181ee + c2e0aab commit f312e3c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Translation/TranslatorTest.php

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

148148
public function testLoadResourcesWithoutCaching()
149149
{
150-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
150+
$loader = new YamlFileLoader();
151151
$resourceFiles = [
152152
'fr' => [
153153
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
@@ -224,7 +224,7 @@ public function getDebugModeAndCacheDirCombinations()
224224

225225
public function testCatalogResourcesAreAddedForScannedDirectories()
226226
{
227-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
227+
$loader = new YamlFileLoader();
228228
$resourceFiles = [
229229
'fr' => [
230230
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
@@ -386,7 +386,7 @@ public function getTranslator($loader, $options = [], $loaderFomat = 'loader', $
386386

387387
public function testWarmup()
388388
{
389-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
389+
$loader = new YamlFileLoader();
390390
$resourceFiles = [
391391
'fr' => [
392392
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
@@ -411,7 +411,7 @@ public function testWarmup()
411411

412412
public function testLoadingTranslationFilesWithDotsInMessageDomain()
413413
{
414-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
414+
$loader = new YamlFileLoader();
415415
$resourceFiles = [
416416
'en' => [
417417
__DIR__.'/../Fixtures/Resources/translations/domain.with.dots.en.yml',

0 commit comments

Comments
 (0)
0