Completed
Push — master ( a3cb56...dad9bd )
by Simonas
05:32
created
Settings/General/SettingsManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use ONGR\ElasticsearchBundle\ORM\Manager;
18 18
 use ONGR\SettingsBundle\Document\Setting;
19 19
 use ONGR\SettingsBundle\Event\SettingChangeEvent;
20
-use Exception;
21 20
 
22 21
 /**
23 22
  * Class SettingsManager responsible for managing settings actions.
Please login to merge, or discard this patch.
Tests/Functional/Controller/PersonalSettingsControllerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 namespace ONGR\SettingsBundle\Tests\Functional\Controller;
13 13
 
14 14
 use ONGR\SettingsBundle\Tests\Fixtures\Security\LoginTestHelper;
15
-use ONGR\SettingsBundle\Tests\Functional\PreparePersonalData;
16
-use ONGR\SettingsBundle\Tests\Functional\PrepareAdminData;
17 15
 use ONGR\ElasticsearchBundle\Test\ElasticsearchTestCase;
18 16
 use Symfony\Bundle\FrameworkBundle\Client;
19 17
 
Please login to merge, or discard this patch.
Tests/Functional/Controller/UserControllerTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
         if ($shouldSucceed) {
80 80
             $this->assertContains(' already logged in', $response->getContent());
81 81
 
82
-             // Assert correct cookie has been set.
82
+                // Assert correct cookie has been set.
83 83
             /** @var Cookie $cookie */
84 84
             $cookie = $client->getCookieJar()->get('ongr_settings_user_auth');
85 85
             $this->assertSame('ongr_settings_user_auth', $cookie->getName());
Please login to merge, or discard this patch.
Settings/General/Provider/ManagerAwareSettingProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace ONGR\SettingsBundle\Settings\General\Provider;
13 13
 
14 14
 use ONGR\SettingsBundle\Document\Setting;
15
-use ONGR\FilterManagerBundle\Filters\ViewData;
16 15
 use ONGR\ElasticsearchBundle\Service\Manager;
17 16
 use ONGR\ElasticsearchBundle\Service\Repository;
18 17
 use ONGR\ElasticsearchDSL\Query\MatchQuery;
Please login to merge, or discard this patch.