8000 cs fix · symfony/symfony@c2e0aab · GitHub
[go: up one dir, main page]

Skip to content

Commit c2e0aab

Browse files
cs fix
1 parent 2e27353 commit c2e0aab

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use Symfony\Bundle\FrameworkBundle\Translation\Translator;
1717
use Symfony\Component\Filesystem\Filesystem;
1818
use Symfony\Component\Translation\Formatter\MessageFormatter;
19+
use Symfony\Component\Translation\Loader\YamlFileLoader;
1920
use Symfony\Component\Translation\MessageCatalogue;
2021

2122
class TranslatorTest extends TestCase
@@ -123,7 +124,7 @@ public function testTransWithCachingWithInvalidLocaleOmittingLocale()
123124
*/
124125
public function testLoadResourcesWithoutCachingOmittingLocale()
125126
{
126-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
127+
$loader = new YamlFileLoader();
127128
$resourceFiles = [
128129
'fr' => [
129130
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
@@ -171,7 +172,7 @@ public function testGetDefaultLocaleOmittingLocaleWithPsrContainer()
171172
*/
172173
public function testWarmupOmittingLocale()
173174
{
174-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
175+
$loader = new YamlFileLoader();
175176
$resourceFiles = [
176177
'fr' => [
177178
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
@@ -259,7 +260,7 @@ public function testTransWithCachingWithInvalidLocale()
259260

260261
public function testLoadResourcesWithoutCaching()
261262
{
262-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
263+
$loader = new YamlFileLoader();
263264
$resourceFiles = [
264265
'fr' => [
265266
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',
@@ -436,7 +437,7 @@ public function getTranslator($loader, $options = [], $loaderFomat = 'loader', $
436437

437438
public function testWarmup()
438439
{
439-
$loader = new \Symfony\Component\Translation\Loader\YamlFileLoader();
440+
$loader = new YamlFileLoader();
440441
$resourceFiles = [
441442
'fr' => [
442443
__DIR__.'/../Fixtures/Resources/translations/messages.fr.yml',

0 commit comments

Comments
 (0)
0