Completed
Pull Request — master (#33)
by Andreas
01:59
created
Module.php 2 patches
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,10 +32,9 @@
 block discarded – undo
32 32
 
33 33
 namespace OrgHeiglHybridAuth;
34 34
 
35
-use Zend\ModuleManager\ModuleManager,
36
-    Zend\EventManager\StaticEventManager,
37
-    Zend\Mvc\ModuleRouteListener;
38
-use OrgHeiglHybridAuth\View\Helper\HybridAuth as HybridAuthViewManager;
35
+use Zend\ModuleManager\ModuleManager;
36
+use Zend\EventManager\StaticEventManager;
37
+use Zend\Mvc\ModuleRouteListener;
39 38
     
40 39
 
41 40
 /**
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,9 +75,9 @@  discard block
 block discarded – undo
75 75
     public function onBootstrap($e)
76 76
     {
77 77
     //	$e->getApplication()->getServiceManager()->get('translator');
78
-    	$eventManager        = $e->getApplication()->getEventManager();
79
-    	$moduleRouteListener = new ModuleRouteListener();
80
-    	$moduleRouteListener->attach($eventManager);
78
+        $eventManager        = $e->getApplication()->getEventManager();
79
+        $moduleRouteListener = new ModuleRouteListener();
80
+        $moduleRouteListener->attach($eventManager);
81 81
 
82 82
         $servicemanager = $e->getApplication()->getServiceManager();
83 83
         $helperManager  = $servicemanager->get('ViewHelperManager');
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     
91 91
     public function getConfig()
92 92
     {
93
-    	return include __DIR__ . '/config/module.config.php';
93
+        return include __DIR__ . '/config/module.config.php';
94 94
     }
95 95
     
96 96
     public function getAutoloaderConfig()
Please login to merge, or discard this patch.
config/autoload/module.orgHeiglHybridAuth.test.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
 return array('OrgHeiglHybridAuth' => array(
34 34
     'hybrid_auth' => array(
35
-       // 'base_url' => 'http://example.com/auth/backend',
35
+        // 'base_url' => 'http://example.com/auth/backend',
36 36
         'providers' => array(
37 37
             'Twitter' => array('enabled' => false, 'keys' => array('key' => '', 'secret' => '')),
38 38
         ),
Please login to merge, or discard this patch.
src/SocialAuthUserWrapper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 
32 32
 namespace OrgHeiglHybridAuth;
33 33
 
34
-use Hybridauth\Entity\Profile;
35 34
 use OrgHeiglHybridAuth\UserInterface;
36 35
 use SocialConnect\Common\Entity\User;
37 36
 
Please login to merge, or discard this patch.
src/Service/UserFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 
81 81
         $userToken = new UserToken();
82 82
         $userToken->setService($service)
83
-                  ->setUser($user);
83
+                    ->setUser($user);
84 84
 
85 85
         return $userToken;
86 86
     }
Please login to merge, or discard this patch.
src/Service/IndexControllerFactory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@
 block discarded – undo
67 67
 
68 68
         $controller = new IndexController();
69 69
         $controller->setSession($session)
70
-                   ->setAuthenticator($authenticator)
71
-                   ->setUserWrapperFactory($wrapperFactory);
70
+                    ->setAuthenticator($authenticator)
71
+                    ->setUserWrapperFactory($wrapperFactory);
72 72
         return $controller;
73 73
     }
74 74
 }
Please login to merge, or discard this patch.
src/UserWrapperFactory.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -44,12 +44,12 @@
 block discarded – undo
44 44
  */
45 45
 class UserWrapperFactory
46 46
 {
47
-   /**
48
-    * Create the user-Proxy according to the given User-Object
49
-    *
50
-    * @return UserInterface
51
-    * @throws \UnexpectedValueException
52
-    */
47
+    /**
48
+     * Create the user-Proxy according to the given User-Object
49
+     *
50
+     * @return UserInterface
51
+     * @throws \UnexpectedValueException
52
+     */
53 53
     public function factory($userObject)
54 54
     {
55 55
         switch (get_class($userObject))
Please login to merge, or discard this patch.