Completed
Push — master ( a35245...0a80a4 )
by Mantas
145:58 queued 81:06
created
Event/HistoryListener.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      * @param string            $oldMessage
72 72
      * @param string            $locale
73 73
      *
74
-     * @return mixed
74
+     * @return History
75 75
      */
76 76
     private function setDocument($document, $oldMessage, $locale)
77 77
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,6 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
Service/Import.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,6 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
Command/ExportCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Translation/HistoryManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.