Skip to content

Commit 30e9464

Browse files
Alpha-ordering for "use" statements
1 parent 44383e4 commit 30e9464

37 files changed

+46
-46
lines changed

Dumper/MoFileDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace Symfony\Component\Translation\Dumper;
1313

14-
use Symfony\Component\Translation\MessageCatalogue;
1514
use Symfony\Component\Translation\Loader\MoFileLoader;
15+
use Symfony\Component\Translation\MessageCatalogue;
1616

1717
/**
1818
* MoFileDumper generates a gettext formatted string representation of a message catalogue.

Loader/FileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Translation\Loader;
1313

14+
use Symfony\Component\Config\Resource\FileResource;
1415
use Symfony\Component\Translation\Exception\InvalidResourceException;
1516
use Symfony\Component\Translation\Exception\NotFoundResourceException;
16-
use Symfony\Component\Config\Resource\FileResource;
1717

1818
/**
1919
* @author Abdellatif Ait boudad <a.aitboudad@gmail.com>

Loader/IcuDatFileLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Component\Translation\Loader;
1313

14-
use Symfony\Component\Translation\MessageCatalogue;
14+
use Symfony\Component\Config\Resource\FileResource;
1515
use Symfony\Component\Translation\Exception\InvalidResourceException;
1616
use Symfony\Component\Translation\Exception\NotFoundResourceException;
17-
use Symfony\Component\Config\Resource\FileResource;
17+
use Symfony\Component\Translation\MessageCatalogue;
1818

1919
/**
2020
* IcuResFileLoader loads translations from a resource bundle.

Loader/IcuResFileLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
namespace Symfony\Component\Translation\Loader;
1313

14-
use Symfony\Component\Translation\MessageCatalogue;
14+
use Symfony\Component\Config\Resource\DirectoryResource;
1515
use Symfony\Component\Translation\Exception\InvalidResourceException;
1616
use Symfony\Component\Translation\Exception\NotFoundResourceException;
17-
use Symfony\Component\Config\Resource\DirectoryResource;
17+
use Symfony\Component\Translation\MessageCatalogue;
1818

1919
/**
2020
* IcuResFileLoader loads translations from a resource bundle.

Loader/LoaderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
namespace Symfony\Component\Translation\Loader;
1313

14-
use Symfony\Component\Translation\MessageCatalogue;
1514
use Symfony\Component\Translation\Exception\InvalidResourceException;
1615
use Symfony\Component\Translation\Exception\NotFoundResourceException;
16+
use Symfony\Component\Translation\MessageCatalogue;
1717

1818
/**
1919
* LoaderInterface is the interface implemented by all translation loaders.

Loader/QtFileLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
namespace Symfony\Component\Translation\Loader;
1313

14+
use Symfony\Component\Config\Resource\FileResource;
1415
use Symfony\Component\Config\Util\XmlUtils;
15-
use Symfony\Component\Translation\MessageCatalogue;
1616
use Symfony\Component\Translation\Exception\InvalidResourceException;
1717
use Symfony\Component\Translation\Exception\NotFoundResourceException;
18-
use Symfony\Component\Config\Resource\FileResource;
18+
use Symfony\Component\Translation\MessageCatalogue;
1919

2020
/**
2121
* QtFileLoader loads translations from QT Translations XML files.

Loader/XliffFileLoader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
namespace Symfony\Component\Translation\Loader;
1313

14+
use Symfony\Component\Config\Resource\FileResource;
1415
use Symfony\Component\Config\Util\XmlUtils;
15-
use Symfony\Component\Translation\MessageCatalogue;
1616
use Symfony\Component\Translation\Exception\InvalidResourceException;
1717
use Symfony\Component\Translation\Exception\NotFoundResourceException;
18-
use Symfony\Component\Config\Resource\FileResource;
18+
use Symfony\Component\Translation\MessageCatalogue;
1919

2020
/**
2121
* XliffFileLoader loads translations from XLIFF files.

Loader/YamlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
namespace Symfony\Component\Translation\Loader;
1313

1414
use Symfony\Component\Translation\Exception\InvalidResourceException;
15-
use Symfony\Component\Yaml\Parser as YamlParser;
1615
use Symfony\Component\Yaml\Exception\ParseException;
16+
use Symfony\Component\Yaml\Parser as YamlParser;
1717

1818
/**
1919
* YamlFileLoader loads translations from Yaml files.

Tests/DataCollector/TranslationDataCollectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
namespace Symfony\Component\Translation\Tests\DataCollector;
1313

1414
use PHPUnit\Framework\TestCase;
15-
use Symfony\Component\Translation\DataCollectorTranslator;
1615
use Symfony\Component\Translation\DataCollector\TranslationDataCollector;
16+
use Symfony\Component\Translation\DataCollectorTranslator;
1717

1818
class TranslationDataCollectorTest extends TestCase
1919
{

Tests/DataCollectorTranslatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
namespace Symfony\Component\Translation\Tests;
1313

1414
use PHPUnit\Framework\TestCase;
15-
use Symfony\Component\Translation\Translator;
1615
use Symfony\Component\Translation\DataCollectorTranslator;
1716
use Symfony\Component\Translation\Loader\ArrayLoader;
17+
use Symfony\Component\Translation\Translator;
1818

1919
class DataCollectorTranslatorTest extends TestCase
2020
{

0 commit comments

Comments
 (0)