@@ -14,8 +14,6 @@ |
||
| 14 | 14 | use ONGR\ElasticsearchBundle\Document\DocumentInterface; |
| 15 | 15 | use ONGR\ElasticsearchBundle\Service\Repository; |
| 16 | 16 | use ONGR\TranslationsBundle\Document\History; |
| 17 | -use Symfony\Component\Config\Definition\Exception\Exception; |
|
| 18 | -use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
|
| 19 | 17 | |
| 20 | 18 | /** |
| 21 | 19 | * Listens for edit message request event and add old message to history. |
@@ -15,8 +15,6 @@ |
||
| 15 | 15 | use ONGR\TranslationsBundle\Storage\StorageInterface; |
| 16 | 16 | use ONGR\TranslationsBundle\Translation\Import\FileImport; |
| 17 | 17 | use Symfony\Component\Finder\Finder; |
| 18 | -use Symfony\Component\HttpKernel\Bundle\Bundle; |
|
| 19 | -use Symfony\Component\HttpKernel\Bundle\BundleInterface; |
|
| 20 | 18 | |
| 21 | 19 | /** |
| 22 | 20 | * Collects translations. |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | $domains = $input->getOption('domains'); |
| 61 | 61 | $export->export($domains); |
| 62 | 62 | |
| 63 | - $prettify = function ($array) { |
|
| 63 | + $prettify = function($array) { |
|
| 64 | 64 | return !empty($array) ? implode('</comment><info>`, `</info><comment>', $array) : 'all'; |
| 65 | 65 | }; |
| 66 | 66 | |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace ONGR\TranslationsBundle\Translation; |
| 13 | 13 | |
| 14 | -use ONGR\ElasticsearchDSL\Query\BoolQuery; |
|
| 15 | 14 | use ONGR\ElasticsearchDSL\Filter\TermFilter; |
| 16 | 15 | use ONGR\ElasticsearchDSL\Sort\FieldSort; |
| 17 | 16 | use ONGR\ElasticsearchBundle\Service\Repository; |