Completed
Pull Request — master (#170)
by Simonas
04:25
created
Controller/SettingsController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,7 @@
 block discarded – undo
11 11
 
12 12
 namespace ONGR\SettingsBundle\Controller;
13 13
 
14
-use ONGR\ElasticsearchBundle\Result\Aggregation\AggregationValue;
15 14
 use ONGR\ElasticsearchBundle\Service\Repository;
16
-use ONGR\ElasticsearchDSL\Aggregation\TermsAggregation;
17 15
 use ONGR\SettingsBundle\Document\Setting;
18 16
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
19 17
 use Symfony\Component\HttpFoundation\JsonResponse;
Please login to merge, or discard this patch.
Twig/SettingExtension.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,6 @@
 block discarded – undo
10 10
  */
11 11
 
12 12
 namespace ONGR\SettingsBundle\Twig;
13
-use Doctrine\Common\Cache\PhpFileCache;
14
-use ONGR\SettingsBundle\Document\Setting;
15 13
 use ONGR\SettingsBundle\Service\SettingsManager;
16 14
 
17 15
 /**
Please login to merge, or discard this patch.
Service/SettingsManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use ONGR\ElasticsearchBundle\Result\Aggregation\AggregationValue;
17 17
 use ONGR\ElasticsearchDSL\Aggregation\TermsAggregation;
18 18
 use ONGR\ElasticsearchDSL\Aggregation\TopHitsAggregation;
19
-use ONGR\SettingsBundle\Exception\SettingNotFoundException;
20 19
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
21 20
 use ONGR\ElasticsearchBundle\Service\Repository;
22 21
 use ONGR\ElasticsearchBundle\Service\Manager;
Please login to merge, or discard this patch.
Controller/ProfilesController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -14,11 +14,7 @@
 block discarded – undo
14 14
 use ONGR\ElasticsearchBundle\Result\DocumentIterator;
15 15
 use ONGR\ElasticsearchBundle\Service\Repository;
16 16
 use ONGR\ElasticsearchDSL\Aggregation\TermsAggregation;
17
-use ONGR\ElasticsearchDSL\Aggregation\TopHitsAggregation;
18
-use ONGR\ElasticsearchDSL\Search;
19 17
 use ONGR\ElasticsearchBundle\Result\Aggregation\AggregationValue;
20
-use ONGR\SettingsBundle\Document\Setting;
21
-use ONGR\SettingsBundle\Service\SettingsManager;
22 18
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
23 19
 use Symfony\Component\HttpFoundation\JsonResponse;
24 20
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.