Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Auth/src/Auth/Factory/Listener/UnauthorizedAccessListenerFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      * - Injects the AuthenticationService
25 25
      *
26 26
      * @param ServiceLocatorInterface $serviceLocator
27
-     * @return \Auth\View\Helper\Auth
27
+     * @return Listener
28 28
      * @see \Zend\ServiceManager\FactoryInterface::createService()
29 29
      */
30 30
     public function createService(ServiceLocatorInterface $serviceLocator)
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Service/AuthenticationServiceFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * - injects the UserMapper fetched from the service manager.
27 27
      *
28 28
      * @param ServiceLocatorInterface $serviceLocator
29
-     * @return \Auth\Adapter\HybridAuth
29
+     * @return AuthenticationService
30 30
      * @see \Zend\ServiceManager\FactoryInterface::createService()
31 31
      */
32 32
     public function createService(ServiceLocatorInterface $serviceLocator)
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Service/GotoResetPasswordFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      *
26 26
      * @param ServiceLocatorInterface $serviceLocator
27 27
      *
28
-     * @return ForgotPassword
28
+     * @return GotoResetPassword
29 29
      */
30 30
     public function createService(ServiceLocatorInterface $serviceLocator)
31 31
     {
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license       MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license       MIT
8
+     */
9 9
 
10 10
 namespace Organizations\Factory\Controller;
11 11
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/GroupUsersCollection.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     
41 41
     /**
42 42
      * {@inheritDoc}
43
-     * @return GroupsUsersCollection
43
+     * @return GroupUsersCollection
44 44
      * @see \Core\Form\ViewPartialProviderInterface::setViewPartial()
45 45
      */
46 46
     public function setViewPartial($partial)
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** UsersCollection.php */
11 11
 namespace Auth\Form;
@@ -98,9 +98,9 @@  discard block
 block discarded – undo
98 98
         );
99 99
         
100 100
         $this->setCount(0)
101
-             ->setAllowRemove(true)
102
-             ->setAllowAdd(true)
103
-             ->setShouldCreateTemplate(true);
101
+                ->setAllowRemove(true)
102
+                ->setAllowAdd(true)
103
+                ->setShouldCreateTemplate(true);
104 104
         
105 105
         
106 106
     }
Please login to merge, or discard this patch.
module/Auth/src/Auth/Form/UserInfoContainer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     
33 33
     /**
34 34
      * {@inheritDoc}
35
-     * @return UserInfoContainer
35
+     * @return string
36 36
      * @see \Core\Form\ViewPartialProviderInterface::getViewPartial()
37 37
      */
38 38
     public function getViewPartial()
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** SettingsEntityResolverFactory.php */
11 11
 namespace Settings\Repository;
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/Events/AuthEvent.php 3 patches
Doc Comments   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * Sets the job entity
37 37
      *
38
-     * @param  Job $jobEntity
39
-     * @return MvcEvent
38
+     * @return AuthEvent
40 39
      */
41 40
     public function setUserEntity($userEntity)
42 41
     {
@@ -65,6 +64,9 @@  discard block
 block discarded – undo
65 64
         return $this->newPassword;
66 65
     }
67 66
 
67
+    /**
68
+     * @param string $resetLink
69
+     */
68 70
     public function setResetLink($resetLink)
69 71
     {
70 72
         $this->resetLink = $resetLink;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * a new password was created
24 24
      */
25
-    const EVENT_AUTH_NEWPASSWORD   = 'auth.newpassword';
25
+    const EVENT_AUTH_NEWPASSWORD = 'auth.newpassword';
26 26
 
27 27
     protected $userEntity;
28 28
 
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     * @author    [email protected]
9
+     */
10 10
 
11 11
 namespace Organizations\Form;
12 12
 
Please login to merge, or discard this patch.
module/Auth/src/Auth/Listener/TokenListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * Detach all our listeners from the event manager
50 50
      *
51 51
      * @param  SharedEventManagerInterface $events
52
-     * @return void
52
+     * @return boolean
53 53
      */
54 54
     public function detachShared(SharedEventManagerInterface $events)
55 55
     {
Please login to merge, or discard this patch.
module/Auth/src/Auth/Options/ModuleOptions.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
     /**
122 122
      * Sets the From: of the mail header
123 123
      *
124
-     * @param $fromName
124
+     * @param string $fromName
125 125
      * @return $this
126 126
      */
127 127
     public function setFromName($fromName)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      *
62 62
      * @var array()
63 63
      */
64
-    protected $enableLogins = ['facebook','xing','linkedin','google','github'];
64
+    protected $enableLogins = ['facebook', 'xing', 'linkedin', 'google', 'github'];
65 65
 
66 66
     /**
67 67
      * Enable Registration
Please login to merge, or discard this patch.
module/Auth/src/Auth/Repository/User.php 3 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * Creates a User
65 65
      *
66 66
      * @see \Core\Repository\AbstractRepository::create()
67
-     * @return UserInterface
67
+     * @return \Core\Entity\EntityInterface
68 68
      */
69 69
     public function create(array $data = null)
70 70
     {
@@ -103,10 +103,10 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @param      $email
106
+     * @param      string $email
107 107
      * @param bool $isDraft
108 108
      *
109
-     * @return UserInterface|null
109
+     * @return UserInterface
110 110
      */
111 111
     public function findByEmail($email, $isDraft = false)
112 112
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
     public function findByQuery($query)
186 186
     {
187 187
         $qb = $this->createQueryBuilder();
188
-        $parts  = explode(' ', trim($query));
188
+        $parts = explode(' ', trim($query));
189 189
         
190 190
         foreach ($parts as $q) {
191 191
             $regex = new \MongoRegex('/^' . $query . '/i');
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
             $qb->addOr($qb->expr()->field('info.email')->equals($regex));
195 195
         }
196 196
         $qb->sort(array('info.lastName' => 1))
197
-           ->sort(array('info.email' => 1));
197
+            ->sort(array('info.email' => 1));
198 198
         
199 199
         return $qb->getQuery()->execute();
200 200
     }
Please login to merge, or discard this patch.