Completed
Pull Request — develop (#223)
by ANTHONIUS
08:52
created
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,6 +140,7 @@  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
     
@@ -147,6 +155,7 @@  discard block
 block discarded – undo
147 155
      * Sets the users street
148 156
      *
149 157
      * @param string $name
158
+     * @return Info
150 159
      */
151 160
     public function setStreet($name);
152 161
     
@@ -161,6 +170,7 @@  discard block
 block discarded – undo
161 170
      * Sets the users house number
162 171
      *
163 172
      * @param string $houseNumber
173
+     * @return Info
164 174
      */
165 175
     public function setHouseNumber($houseNumber);
166 176
     
@@ -186,6 +196,7 @@  discard block
 block discarded – undo
186 196
      *
187 197
      * @param string $postalCode
188 198
      * @since 0.20
199
+     * @return Info
189 200
      */
190 201
     public function setPostalCode($postalCode);
191 202
 
@@ -202,6 +213,7 @@  discard block
 block discarded – undo
202 213
      *
203 214
      * @param string $phone
204 215
      * @since 0.20
216
+     * @return Info
205 217
      */
206 218
     public function setPhone($phone);
207 219
 
@@ -218,6 +230,7 @@  discard block
 block discarded – undo
218 230
      *
219 231
      * @param string $city
220 232
      * @since 0.20
233
+     * @return Info
221 234
      */
222 235
     public function setCity($city);
223 236
 
Please login to merge, or discard this patch.
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -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
     
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      * Gets the users street
155 155
      *
156 156
      * @return string
157
-    */
157
+     */
158 158
     public function getStreet();
159 159
     
160 160
     /**
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/AbstractIdentifiableEntity.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 /**
16 16
  *
17 17
  * @ODM\MappedSuperclass
18
-  */
18
+ */
19 19
 abstract class AbstractIdentifiableEntity extends AbstractEntity implements IdentifiableEntityInterface
20 20
 {
21 21
        
Please login to merge, or discard this patch.
module/Settings/src/Settings/Entity/SettingsContainer.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param bool  $recursive
28
-     * @param array $skipMembers
28
+     * @param string[] $skipMembers
29 29
      *
30 30
      * @return $this
31 31
      */
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     }
131 131
 
132 132
     /**
133
-     * @param $property
133
+     * @param string $property
134 134
      *
135 135
      * @return null
136 136
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      */
139 139
     public function __get($property)
140 140
     {
141
-        $getter = "get" . ucfirst($property);
141
+        $getter = "get".ucfirst($property);
142 142
         if (method_exists($this, $getter)) {
143 143
             return $this->$getter();
144 144
         }
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     {
160 160
         $this->checkWriteAccess();
161 161
         
162
-        $setter = 'set' . ucfirst($property);
162
+        $setter = 'set'.ucfirst($property);
163 163
         if (method_exists($this, $setter)) {
164 164
             $this->$setter($value);
165 165
             return;
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/FileInterface.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 
16 16
 /**
17 17
  *
18
-
19 18
  */
20 19
 interface FileInterface extends
21 20
     IdentifiableEntityInterface,
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/TemplateLabelRequirements.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,6 +62,6 @@
 block discarded – undo
62 62
                     )
63 63
                 )
64 64
             )
65
-       );
65
+        );
66 66
     }
67 67
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Controller/Plugin/FileSender.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
         
34 34
         $response->getHeaders()->addHeaderline('Content-Type', $file->type)
35
-                               ->addHeaderline('Content-Length', $file->size);
35
+                                ->addHeaderline('Content-Length', $file->size);
36 36
         $response->sendHeaders();
37 37
         
38 38
         $resource = $file->getResource();
Please login to merge, or discard this patch.
module/Jobs/src/Jobs/Form/MultipostButtonFieldset.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -24,19 +24,19 @@
 block discarded – undo
24 24
     public function init()
25 25
     {
26 26
         $this->add(
27
-             array(
28
-                 'type' => 'Core/Spinner-Submit',
29
-                 'name' => 'calculate',
30
-                 'options' => array(
31
-                     'label' => /*@translate*/ 'Calculate price',
32
-                 ),
33
-                 'attributes' => array(
34
-                     'id' => 'calculate',
35
-                     'type' => 'button',
36
-                     'value' => 'calculate',
37
-                     'class' => 'mps-calculate btn btn-success btn-xs'
38
-                 ),
39
-             )
27
+                array(
28
+                    'type' => 'Core/Spinner-Submit',
29
+                    'name' => 'calculate',
30
+                    'options' => array(
31
+                        'label' => /*@translate*/ 'Calculate price',
32
+                    ),
33
+                    'attributes' => array(
34
+                        'id' => 'calculate',
35
+                        'type' => 'button',
36
+                        'value' => 'calculate',
37
+                        'class' => 'mps-calculate btn btn-success btn-xs'
38
+                    ),
39
+                )
40 40
         );
41 41
 
42 42
         parent::init();
Please login to merge, or discard this patch.
module/Auth/config/module.config.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
                     'route/lang/my-password'
204 204
                 ),
205 205
                 'deny' => array(
206
-                   // 'route/lang/auth',
206
+                    // 'route/lang/auth',
207 207
                     'route/auth-provider',
208 208
                     'route/auth-extern',
209 209
                     'route/lang/forgot-password',
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
         'factories' => array(
280 280
             'auth' => '\Auth\Factory\View\Helper\AuthFactory',
281 281
             'acl'  => '\Acl\Factory\View\Helper\AclFactory',
282
-         ),
282
+            ),
283 283
     ),
284 284
     
285 285
     'form_elements' => array(
Please login to merge, or discard this patch.
Spacing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
                  * for multiple paths.
30 30
                  * example https://github.com/doctrine/DoctrineORMModule
31 31
                  */
32
-                'paths' => array( __DIR__ . '/../src/Auth/Entity'),
32
+                'paths' => array(__DIR__.'/../src/Auth/Entity'),
33 33
             ),
34 34
         ),
35 35
     ),
@@ -107,13 +107,13 @@  discard block
 block discarded – undo
107 107
     'hybridauth' => array(
108 108
         "Facebook" => array(
109 109
             "enabled" => true,
110
-            "keys"    => array( "id" => "", "secret" => "" ),
110
+            "keys"    => array("id" => "", "secret" => ""),
111 111
             "scope"      => 'email, user_about_me, user_birthday, user_hometown, user_website',
112 112
             "display" => 'popup',
113 113
         ),
114 114
         "LinkedIn" => array(
115 115
             "enabled" => true,
116
-            "keys"    => array( "key" => "", "secret" => "" ),
116
+            "keys"    => array("key" => "", "secret" => ""),
117 117
         ),
118 118
         "XING" => array(
119 119
             "enabled" => true,
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
                 'class' => 'Hybrid_Providers_XING',
124 124
                 'path' => __FILE__,
125 125
             ),
126
-            "keys"    => array( "key" => "", "secret" => "" ),
126
+            "keys"    => array("key" => "", "secret" => ""),
127 127
         ),
128 128
         "Github" => array(
129 129
             "enabled" => true,
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
                 'class' => 'Hybrid_Providers_Github',
134 134
                 'path' => __FILE__,
135 135
             ),
136
-            "keys"    => array( "key" => "", "secret" => "" ),
136
+            "keys"    => array("key" => "", "secret" => ""),
137 137
         ),
138 138
 
139 139
     ),
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         'translation_file_patterns' => array(
234 234
             array(
235 235
                 'type'     => 'gettext',
236
-                'base_dir' => __DIR__ . '/../language',
236
+                'base_dir' => __DIR__.'/../language',
237 237
                 'pattern'  => '%s.mo',
238 238
             ),
239 239
         ),
@@ -242,25 +242,25 @@  discard block
 block discarded – undo
242 242
     // Configure the view service manager
243 243
     'view_manager' => array(
244 244
         'template_map' => array(
245
-            'form/auth/contact.form' => __DIR__ . '/../view/form/contact.form.phtml',
246
-            'form/auth/contact.view' => __DIR__ . '/../view/form/contact.view.phtml',
247
-            'form/auth/status.form' => __DIR__ . '/../view/form/status.form.phtml',
248
-            'form/auth/status.view' => __DIR__ . '/../view/form/status.view.phtml',
249
-            'auth/error/social-profiles-unconfigured' => __DIR__ . '/../view/error/social-profiles-unconfigured.phtml',
250
-            'auth/form/user-info-container' => __DIR__ . '/../view/form/user-info-container.phtml',
251
-            'auth/form/user-status-container' => __DIR__ . '/../view/form/user-status-container.phtml',
252
-            'auth/form/userselect' => __DIR__ . '/../view/form/userselect.phtml',
253
-            'auth/form/social-profiles-fieldset' => __DIR__ . '/../view/form/social-profiles-fieldset.phtml',
254
-            'auth/form/social-profiles-button' => __DIR__ . '/../view/form/social-profiles-button.phtml',
255
-            'auth/sidebar/groups-menu' => __DIR__ . '/../view/sidebar/groups-menu.phtml',
256
-            'mail/first-external-login' => __DIR__ . '/../view/mail/first-external-login.phtml',
257
-            'mail/first-socialmedia-login' => __DIR__ . '/../view/mail/first-socialmedia-login.phtml',
258
-            'mail/forgotPassword' =>  __DIR__ . '/../view/mail/forgot-password.phtml',
259
-            'mail/register' =>  __DIR__ . '/../view/mail/register.phtml',
245
+            'form/auth/contact.form' => __DIR__.'/../view/form/contact.form.phtml',
246
+            'form/auth/contact.view' => __DIR__.'/../view/form/contact.view.phtml',
247
+            'form/auth/status.form' => __DIR__.'/../view/form/status.form.phtml',
248
+            'form/auth/status.view' => __DIR__.'/../view/form/status.view.phtml',
249
+            'auth/error/social-profiles-unconfigured' => __DIR__.'/../view/error/social-profiles-unconfigured.phtml',
250
+            'auth/form/user-info-container' => __DIR__.'/../view/form/user-info-container.phtml',
251
+            'auth/form/user-status-container' => __DIR__.'/../view/form/user-status-container.phtml',
252
+            'auth/form/userselect' => __DIR__.'/../view/form/userselect.phtml',
253
+            'auth/form/social-profiles-fieldset' => __DIR__.'/../view/form/social-profiles-fieldset.phtml',
254
+            'auth/form/social-profiles-button' => __DIR__.'/../view/form/social-profiles-button.phtml',
255
+            'auth/sidebar/groups-menu' => __DIR__.'/../view/sidebar/groups-menu.phtml',
256
+            'mail/first-external-login' => __DIR__.'/../view/mail/first-external-login.phtml',
257
+            'mail/first-socialmedia-login' => __DIR__.'/../view/mail/first-socialmedia-login.phtml',
258
+            'mail/forgotPassword' =>  __DIR__.'/../view/mail/forgot-password.phtml',
259
+            'mail/register' =>  __DIR__.'/../view/mail/register.phtml',
260 260
         ),
261 261
     
262 262
         'template_path_stack' => array(
263
-            'Auth' => __DIR__ . '/../view',
263
+            'Auth' => __DIR__.'/../view',
264 264
         ),
265 265
     ),
266 266
     
Please login to merge, or discard this patch.
module/Applications/src/Applications/Entity/ApplicationInterface.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@
 block discarded – undo
238 238
     /**
239 239
      * Gets all comments for the application.
240 240
      *
241
-     * @return ArrayCollection;
241
+     * @return Collection
242 242
 
243 243
      */
244 244
     public function getComments();
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 
16 16
 /**
17 17
  *
18
-
19 18
  */
20 19
 interface FileInterface extends
21 20
     IdentifiableEntityInterface,
Please login to merge, or discard this patch.