cs fix
This commit is contained in:
parent
2e27353a19
commit
c2e0aab7be
@ -16,6 +16,7 @@ use Psr\Container\ContainerInterface;
|
|||||||
use Symfony\Bundle\FrameworkBundle\Translation\Translator;
|
use Symfony\Bundle\FrameworkBundle\Translation\Translator;
|
||||||
use Symfony\Component\Filesystem\Filesystem;
|
use Symfony\Component\Filesystem\Filesystem;
|
||||||
use Symfony\Component\Translation\Formatter\MessageFormatter;
|
use Symfony\Component\Translation\Formatter\MessageFormatter;
|
||||||
|
use Symfony\Component\Translation\Loader\YamlFileLoader;
|
||||||
use Symfony\Component\Translation\MessageCatalogue;
|
use Symfony\Component\Translation\MessageCatalogue;
|
||||||
|
|
||||||
class TranslatorTest extends TestCase
|
class TranslatorTest extends TestCase
|
||||||
@ -123,7 +124,7 @@ class TranslatorTest extends TestCase
|
|||||||
*/
|
*/
|
||||||
public function testLoadResourcesWithoutCachingOmittingLocale()
|
public function testLoadResourcesWithoutCachingOmittingLocale()
|
||||||
{
|
{
|
||||||
$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',
|
||||||
@ -171,7 +172,7 @@ class TranslatorTest extends TestCase
|
|||||||
*/
|
*/
|
||||||
public function testWarmupOmittingLocale()
|
public function testWarmupOmittingLocale()
|
||||||
{
|
{
|
||||||
$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',
|
||||||
@ -259,7 +260,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',
|
||||||
@ -436,7 +437,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',
|
||||||
|
Reference in New Issue
Block a user