Completed
Push — develop ( e2b887...c09155 )
by
unknown
12:13
created
module/Applications/src/Applications/Entity/Application.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -404,7 +404,7 @@
 block discarded – undo
404 404
     /**
405 405
      * {@inheritDoc}
406 406
      * @see \Applications\Entity\ApplicationInterface::getSummary()
407
-     * @return Application
407
+     * @return string
408 408
      */
409 409
     public function getSummary()
410 410
     {
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package Applications
4
- */
3
+     * @package Applications
4
+     */
5 5
 namespace Applications\Entity;
6 6
 
7 7
 use Core\Entity\AbstractIdentifiableEntity;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -446,7 +446,7 @@
 block discarded – undo
446 446
     public function getCv()
447 447
     {
448 448
         if (is_null($this->cv)) {
449
-            $this->cv= new Cv();
449
+            $this->cv = new Cv();
450 450
         }
451 451
         return $this->cv;
452 452
     }
Please login to merge, or discard this patch.
module/Applications/src/Applications/Entity/History.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
      */
42 42
     protected $message;
43 43
     
44
+    /**
45
+     * @param StatusInterface $status
46
+     */
44 47
     public function __construct($status, $message = '[System]')
45 48
     {
46 49
         if (!$status instanceof StatusInterface) {
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-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 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.
src/Applications/Repository/Event/DeleteRemovedAttachmentsSubscriber.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@
 block discarded – undo
35 35
     /**
36 36
      * Updates fiile permissions on Flush
37 37
      *
38
-     * @param OnFlushEventArgs $eventArgs
39
-     * @return boolean
38
+     * @param LifecycleEventArgs $eventArgs
39
+     * @return boolean|null
40 40
      */
41 41
     public function postRemoveEntity(LifecycleEventArgs $eventArgs)
42 42
     {
Please login to merge, or discard this patch.
Indentation   +12 added lines, -12 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-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** JobReferencesUpdateListener.php */
11 11
 namespace Applications\Repository\Event;
@@ -51,14 +51,14 @@  discard block
 block discarded – undo
51 51
         $fileId = new \MongoId($file->id);
52 52
         
53 53
         $dm->createQueryBuilder('Applications\Entity\Application')
54
-           ->update()->multiple(true)
55
-           ->field('attachments')->equals($fileId)->pull($fileId)
56
-           ->getQuery()->execute();
54
+            ->update()->multiple(true)
55
+            ->field('attachments')->equals($fileId)->pull($fileId)
56
+            ->getQuery()->execute();
57 57
         
58 58
         
59 59
         $dm->createQueryBuilder('Applications\Entity\Application')
60
-           ->update()->multiple(true)
61
-           ->field('contact.image')->equals($fileId)->set(null)
62
-           ->getQuery()->execute();
60
+            ->update()->multiple(true)
61
+            ->field('contact.image')->equals($fileId)->set(null)
62
+            ->getQuery()->execute();
63 63
     }
64 64
 }
Please login to merge, or discard this patch.
src/Applications/Repository/Event/UpdateFilesPermissionsSubscriber.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * Updates fiile permissions on Flush
36 36
      *
37 37
      * @param OnFlushEventArgs $eventArgs
38
-     * @return boolean
38
+     * @return boolean|null
39 39
      */
40 40
     public function onFlush(OnFlushEventArgs $eventArgs)
41 41
     {
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 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-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** JobReferencesUpdateListener.php */
11 11
 namespace Applications\Repository\Event;
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
                
57 57
                 foreach ($document->getAttachments() as $attachment) {
58 58
                     $attachment->getPermissions()
59
-                               ->clear()
60
-                               ->inherit($permissions);
59
+                                ->clear()
60
+                                ->inherit($permissions);
61 61
                     if ($isUpdate) {
62 62
                         $uow->computeChangeSet(
63 63
                             $dm->getClassMetadata(get_class($attachment)),
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
                 
69 69
                 if ($image = $document->contact->image) {
70 70
                     $image->getPermissions()
71
-                          ->clear()
72
-                          ->inherit($permissions);
71
+                            ->clear()
72
+                            ->inherit($permissions);
73 73
                     if ($isUpdate) {
74 74
                         $uow->computeChangeSet(
75 75
                             $dm->getClassMetadata(get_class($image)),
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $dm  = $eventArgs->getDocumentManager();
43 43
         $uow = $dm->getUnitOfWork();
44 44
         
45
-        $filter = function ($element) {
45
+        $filter = function($element) {
46 46
             return $element instanceof ApplicationInterface
47 47
                    && $element->getPermissions()->hasChanged();
48 48
         };
Please login to merge, or discard this patch.
Applications/src/Applications/Repository/Filter/PaginationQueryFactory.php 3 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
      * @see \Zend\ServiceManager\FactoryInterface::createService()
27 27
      * @param ServiceLocatorInterface $serviceLocator
28
-     * @return \Applications\Repository\Filter\PaginationQuery|mixed
28
+     * @return PaginationQuery
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-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function createService(ServiceLocatorInterface $serviceLocator)
33 33
     {
34
-        $auth  = $serviceLocator->getServiceLocator()->get('AuthenticationService');
34
+        $auth = $serviceLocator->getServiceLocator()->get('AuthenticationService');
35 35
         $filter = new PaginationQuery($auth);
36 36
         return $filter;
37 37
     }
Please login to merge, or discard this patch.
module/Auth/src/Acl/Factory/Service/AclFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * - injects the UserRepository fetched from the service manager.
22 22
      *
23 23
      * @param ServiceLocatorInterface $serviceLocator
24
-     * @return \Auth\Adapter\ExternalApplication
24
+     * @return \Zend\Permissions\Acl\AclInterface
25 25
      * @see \Zend\ServiceManager\FactoryInterface::createService()
26 26
      */
27 27
     public function createService(ServiceLocatorInterface $serviceLocator)
Please login to merge, or discard this patch.
module/Auth/src/Acl/Listener/CheckPermissionsListenerFactory.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,7 @@
 block discarded – undo
22 22
      *
23 23
      * - Injects the AuthenticationService
24 24
      *
25
-     * @param ServiceLocatorInterface $helpers
26
-     * @return \Auth\View\Helper\Auth
25
+     * @return CheckPermissionsListener
27 26
      * @see \Zend\ServiceManager\FactoryInterface::createService()
28 27
      */
29 28
     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-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 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/Adapter/HybridAuth.php 4 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * Gets the provider identifier used by HybridAuth.
65 65
      *
66
-     * @return string|null
66
+     * @return string
67 67
      */
68 68
     public function getProvider()
69 69
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             /*  */
106 106
 
107 107
             $dm = $this->getRepository()->getDocumentManager();
108
-            if ( '' == $user->getInfo()->email) $user->getInfo()->email = $email;
108
+            if ('' == $user->getInfo()->email) $user->getInfo()->email = $email;
109 109
             $user->getInfo()->firstName = $userProfile->firstName;
110 110
             $user->getInfo()->lastName = $userProfile->lastName;
111 111
             $user->getInfo()->birthDay = $userProfile->birthDay;
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
                     $file->setBytes($response->getBody());
137 137
 
138 138
                     $userImage = new UserImage();
139
-                    $userImage->setName($userProfile->lastName.$userProfile->firstName);
139
+                    $userImage->setName($userProfile->lastName . $userProfile->firstName);
140 140
                     $userImage->setType($response->getHeaders()->get('Content-Type')->getFieldValue());
141 141
                     $userImage->setUser($user);
142 142
                     $userImage->setFile($file);
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,9 @@
 block discarded – undo
105 105
             /*  */
106 106
 
107 107
             $dm = $this->getRepository()->getDocumentManager();
108
-            if ( '' == $user->getInfo()->email) $user->getInfo()->email = $email;
108
+            if ( '' == $user->getInfo()->email) {
109
+                $user->getInfo()->email = $email;
110
+            }
109 111
             $user->getInfo()->firstName = $userProfile->firstName;
110 112
             $user->getInfo()->lastName = $userProfile->lastName;
111 113
             $user->getInfo()->birthDay = $userProfile->birthDay;
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-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 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/Entity/InfoInterface.php 2 patches
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
      * Sets the Day of the date of birth.
24 24
      *
25 25
      * @param string $birthDay
26
+     * @return Info
26 27
      */
27 28
     public function setBirthDay($birthDay);
28 29
     
@@ -37,6 +38,7 @@  discard block
 block discarded – undo
37 38
      * Sets the month of the date of birth.
38 39
      *
39 40
      * @param string $birthMonth
41
+     * @return Info
40 42
      */
41 43
     public function setBirthMonth($birthMonth);
42 44
     
@@ -51,6 +53,7 @@  discard block
 block discarded – undo
51 53
      * Sets the year of the date of birth.
52 54
      *
53 55
      * @param string $email
56
+     * @return Info
54 57
      */
55 58
     public function setBirthYear($email);
56 59
     
@@ -65,6 +68,7 @@  discard block
 block discarded – undo
65 68
      * Sets the email.
66 69
      *
67 70
      * @param string $email
71
+     * @return Info
68 72
      */
69 73
     public function setEmail($email);
70 74
     
@@ -90,6 +94,7 @@  discard block
 block discarded – undo
90 94
      * Sets the first name
91 95
      *
92 96
      * @param string $name
97
+     * @return Info
93 98
      */
94 99
     public function setFirstName($name);
95 100
     
@@ -104,6 +109,7 @@  discard block
 block discarded – undo
104 109
      * Sets the gender
105 110
      *
106 111
      * @param string $gender
112
+     * @return Info
107 113
      */
108 114
     public function setGender($gender);
109 115
     
@@ -119,6 +125,7 @@  discard block
 block discarded – undo
119 125
      * Sets the last name
120 126
      *
121 127
      * @param string $name
128
+     * @return Info
122 129
      */
123 130
     public function setLastName($name);
124 131
     
@@ -133,11 +140,13 @@  discard block
 block discarded – undo
133 140
      * Sets the profile Image of an user
134 141
      *
135 142
      * @param EntityInterface $image
143
+     * @return Info
136 144
      */
137 145
     public function setImage(EntityInterface $image = null);
138 146
     
139 147
     /**
140 148
      * Gets the profile Image of an user
149
+     * @return UserImage
141 150
      */
142 151
     public function getImage();
143 152
     
@@ -145,6 +154,7 @@  discard block
 block discarded – undo
145 154
      * Sets the users street
146 155
      *
147 156
      * @param string $name
157
+     * @return Info
148 158
      */
149 159
     public function setStreet($name);
150 160
     
@@ -159,6 +169,7 @@  discard block
 block discarded – undo
159 169
      * Sets the users house number
160 170
      *
161 171
      * @param string $houseNumber
172
+     * @return Info
162 173
      */
163 174
     public function setHouseNumber($houseNumber);
164 175
     
@@ -184,6 +195,7 @@  discard block
 block discarded – undo
184 195
      *
185 196
      * @param string $postalCode
186 197
      * @since 0.20
198
+     * @return Info
187 199
      */
188 200
     public function setPostalCode($postalCode);
189 201
 
@@ -200,6 +212,7 @@  discard block
 block discarded – undo
200 212
      *
201 213
      * @param string $city
202 214
      * @since 0.20
215
+     * @return Info
203 216
      */
204 217
     public function setCity($city);
205 218
 
Please login to merge, or discard this patch.
Indentation   +11 added lines, -11 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-2015 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** Auth model */
11 11
 namespace Auth\Entity;
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      * Gets the Day of the date of birth
31 31
      *
32 32
      * @return string
33
-    */
33
+     */
34 34
     public function getBirthDay();
35 35
     
36 36
     /**
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * Gets the month of the date of birth
45 45
      *
46 46
      * @return string
47
-    */
47
+     */
48 48
     public function getBirthMonth();
49 49
 
50 50
     /**
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * Gets the Year of the date of birth.
59 59
      *
60 60
      * @return string
61
-    */
61
+     */
62 62
     public function getBirthYear();
63 63
     
64 64
     /**
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      * Gets the gender
112 112
      *
113 113
      * @return string
114
-    */
114
+     */
115 115
     public function getGender();
116 116
     
117 117
     
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      * Gets the users street
153 153
      *
154 154
      * @return string
155
-    */
155
+     */
156 156
     public function getStreet();
157 157
     
158 158
     /**
Please login to merge, or discard this patch.