Skip to content

Commit d2b08c7

Browse files
Merge branch '4.1'
* 4.1: Alpha-ordering for "use" statements
2 parents 9a3c1e8 + 372d65f commit d2b08c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+58
-58
lines changed

Catalogue/AbstractOperation.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\Catalogue;
1313

14-
use Symfony\Component\Translation\MessageCatalogue;
15-
use Symfony\Component\Translation\MessageCatalogueInterface;
1614
use Symfony\Component\Translation\Exception\InvalidArgumentException;
1715
use Symfony\Component\Translation\Exception\LogicException;
16+
use Symfony\Component\Translation\MessageCatalogue;
17+
use Symfony\Component\Translation\MessageCatalogueInterface;
1818

1919
/**
2020
* Base catalogues binary operation class.

DependencyInjection/TranslationDumperPass.php

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

1212
namespace Symfony\Component\Translation\DependencyInjection;
1313

14-
use Symfony\Component\DependencyInjection\Reference;
15-
use Symfony\Component\DependencyInjection\ContainerBuilder;
1614
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
15+
use Symfony\Component\DependencyInjection\ContainerBuilder;
16+
use Symfony\Component\DependencyInjection\Reference;
1717

1818
/**
1919
* Adds tagged translation.formatter services to translation writer.

DependencyInjection/TranslationExtractorPass.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\DependencyInjection;
1313

14-
use Symfony\Component\DependencyInjection\Reference;
15-
use Symfony\Component\DependencyInjection\ContainerBuilder;
1614
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
15+
use Symfony\Component\DependencyInjection\ContainerBuilder;
1716
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
17+
use Symfony\Component\DependencyInjection\Reference;
1818

1919
/**
2020
* Adds tagged translation.extractor services to translation extractor.

DependencyInjection/TranslatorPass.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\DependencyInjection;
1313

14-
use Symfony\Component\DependencyInjection\Reference;
15-
use Symfony\Component\DependencyInjection\ContainerBuilder;
1614
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
1715
use Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass;
16+
use Symfony\Component\DependencyInjection\ContainerBuilder;
17+
use Symfony\Component\DependencyInjection\Reference;
1818

1919
class TranslatorPass implements CompilerPassInterface
2020
{

Dumper/FileDumper.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\Dumper;
1313

14-
use Symfony\Component\Translation\MessageCatalogue;
1514
use Symfony\Component\Translation\Exception\InvalidArgumentException;
1615
use Symfony\Component\Translation\Exception\RuntimeException;
16+
use Symfony\Component\Translation\MessageCatalogue;
1717

1818
/**
1919
* FileDumper is an implementation of DumperInterface that dump a message catalogue to file(s).

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.

Dumper/XliffFileDumper.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\Exception\InvalidArgumentException;
15+
use Symfony\Component\Translation\MessageCatalogue;
1616

1717
/**
1818
* XliffFileDumper generates xliff files from a message catalogue.

Dumper/YamlFileDumper.php

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

1212
namespace Symfony\Component\Translation\Dumper;
1313

14+
use Symfony\Component\Translation\Exception\LogicException;
1415
use Symfony\Component\Translation\MessageCatalogue;
1516
use Symfony\Component\Translation\Util\ArrayConverter;
1617
use Symfony\Component\Yaml\Yaml;
17-
use Symfony\Component\Translation\Exception\LogicException;
1818

1919
/**
2020
* YamlFileDumper generates yaml files from 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.

0 commit comments

Comments
 (0)