Skip to content

Commit

Permalink
Merge branch '3.4' into 4.4
Browse files Browse the repository at this point in the history
* 3.4:
  cs fix
  • Loading branch information
nicolas-grekas committed Feb 4, 2020
2 parents 03181ee + c2e0aab commit f312e3c
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -147,7 +147,7 @@ public function testTransWithCachingWithInvalidLocale()

public function testLoadResourcesWithoutCaching()
{
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
$loader = new YamlFileLoader();
$resourceFiles = [
'fr' => [
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
Expand Down Expand Up @@ -224,7 +224,7 @@ public function getDebugModeAndCacheDirCombinations()

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

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

public function testLoadingTranslationFilesWithDotsInMessageDomain()
{
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
$loader = new YamlFileLoader();
$resourceFiles = [
'en' => [
__DIR__.'/../Fixtures/Resources/translations/domain.with.dots.en.yml',
Expand Down

0 comments on commit f312e3c

Please sign in to comment.