Merge branch '3.4' into 4.4
* 3.4: cs fix
This commit is contained in:
commit
f312e3cda6
@ -147,7 +147,7 @@ class TranslatorTest extends TestCase
|
|||||||
|
|
||||||
public function testLoadResourcesWithoutCaching()
|
public function testLoadResourcesWithoutCaching()
|
||||||
{
|
{
|
||||||
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
|
$loader = new YamlFileLoader();
|
||||||
$resourceFiles = [
|
$resourceFiles = [
|
||||||
'fr' => [
|
'fr' => [
|
||||||
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
|
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
|
||||||
@ -224,7 +224,7 @@ class TranslatorTest extends TestCase
|
|||||||
|
|
||||||
public function testCatalogResourcesAreAddedForScannedDirectories()
|
public function testCatalogResourcesAreAddedForScannedDirectories()
|
||||||
{
|
{
|
||||||
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
|
$loader = new YamlFileLoader();
|
||||||
$resourceFiles = [
|
$resourceFiles = [
|
||||||
'fr' => [
|
'fr' => [
|
||||||
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
|
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
|
||||||
@ -386,7 +386,7 @@ class TranslatorTest extends TestCase
|
|||||||
|
|
||||||
public function testWarmup()
|
public function testWarmup()
|
||||||
{
|
{
|
||||||
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
|
$loader = new YamlFileLoader();
|
||||||
$resourceFiles = [
|
$resourceFiles = [
|
||||||
'fr' => [
|
'fr' => [
|
||||||
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
|
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
|
||||||
@ -411,7 +411,7 @@ class TranslatorTest extends TestCase
|
|||||||
|
|
||||||
public function testLoadingTranslationFilesWithDotsInMessageDomain()
|
public function testLoadingTranslationFilesWithDotsInMessageDomain()
|
||||||
{
|
{
|
||||||
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
|
$loader = new YamlFileLoader();
|
||||||
$resourceFiles = [
|
$resourceFiles = [
|
||||||
'en' => [
|
'en' => [
|
||||||
__DIR__.'/../Fixtures/Resources/translations/domain.with.dots.en.yml',
|
__DIR__.'/../Fixtures/Resources/translations/domain.with.dots.en.yml',
|
||||||
|
Reference in New Issue
Block a user