Completed
Pull Request — master (#168)
by
unknown
14:57
created
Controller/SettingsManagerController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use ONGR\SettingsBundle\Settings\General\SettingsManager;
15 15
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
16
-use Symfony\Component\HttpFoundation\JsonResponse;
17 16
 use Symfony\Component\HttpFoundation\RedirectResponse;
18 17
 use Symfony\Component\HttpFoundation\Request;
19 18
 use Symfony\Component\HttpFoundation\Response;
Please login to merge, or discard this patch.
ONGRSettingsBundle.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\SettingsBundle\DependencyInjection\Compiler\SettingAwareFactoryPass;
18 18
 use Symfony\Component\DependencyInjection\ContainerBuilder;
19 19
 use Symfony\Component\HttpKernel\Bundle\Bundle;
20
-use ONGR\SettingsBundle\DependencyInjection\Security\SessionlessAuthenticationFactory;
21 20
 
22 21
 /**
23 22
  * This class is used to register component into Symfony app kernel.
Please login to merge, or discard this patch.
Controller/ProfileController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         }
64 64
         try {
65 65
             $profileManager->createProfile($data['name'], $data['description']);
66
-        }catch (\Exception $e) {
66
+        } catch (\Exception $e) {
67 67
             $cache->save('settings_errors', $e->getMessage());
68 68
             return new RedirectResponse($this->generateUrl('ongr_settings_profile_add'));
69 69
         }
Please login to merge, or discard this patch.