Completed
Push — develop ( 39c196...b11cac )
by Carsten
26:33
created
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.
module/Applications/src/Applications/Form/FactsFieldset.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     public function init()
35 35
     {
36 36
         $this->setHydrator(new \Core\Entity\Hydrator\EntityHydrator())
37
-             ->setName('base');
37
+                ->setName('base');
38 38
 
39 39
         $this->add(
40 40
             array(
Please login to merge, or discard this patch.
module/Auth/src/Auth/Factory/Form/RoleSelectFactory.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
                           || array_key_exists('user', $config['acl']['roles'])
40 40
                           ? array(User::ROLE_USER)
41 41
                           : array('none')
42
-                         );
42
+                            );
43 43
         
44 44
         $valueOptions = array();
45 45
         foreach ($publicRoles as $role) {
Please login to merge, or discard this patch.
module/Core/src/Core/Entity/EntityTrait.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
  */
23 23
 trait EntityTrait
24 24
 {
25
+    /**
26
+     * @param string $property
27
+     */
25 28
     public function notEmpty($property, array $args=[])
26 29
     {
27 30
         $method = "get$property";
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,16 +20,16 @@
 block discarded – undo
20 20
  */
21 21
 trait EntityTrait
22 22
 {
23
-    public function notEmpty($property, array $args=[])
23
+    public function notEmpty($property, array $args = [])
24 24
     {
25 25
         $method = "get$property";
26 26
 
27 27
         if (!method_exists($this, $method)) {
28
-            throw new OutOfBoundsException("'$property' is not a valid property of '" . get_class($this) . "'");
28
+            throw new OutOfBoundsException("'$property' is not a valid property of '".get_class($this)."'");
29 29
         }
30 30
 
31 31
         $value = count($args)
32
-            ? call_user_func_array([ $this, $method ], $args)
32
+            ? call_user_func_array([$this, $method], $args)
33 33
             : $this->$method();
34 34
 
35 35
         if (null === $value) { // is_scalar does not consider 'null' to be scalar value.
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormContainer.php 3 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@
 block discarded – undo
73 73
 
74 74
     }
75 75
 
76
+    /**
77
+     * @param string $layout
78
+     */
76 79
     public function renderElement($element, $layout, $parameter)
77 80
     {
78 81
         $parameterPartial = $parameter;
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,8 +83,8 @@
 block discarded – undo
83 83
         if ($element instanceof ViewPartialProviderInterface) {
84 84
             $parameterPartial = array_merge(array('element' => $element, 'layout' => $layout), $parameterPartial);
85 85
             $content .= $this->getView()->partial(
86
-                             $element->getViewPartial(),
87
-                             $parameterPartial
86
+                                $element->getViewPartial(),
87
+                                $parameterPartial
88 88
             );
89 89
 
90 90
         } elseif ($element instanceof ViewHelperProviderInterface) {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         }
65 65
 
66 66
         if (isset($parameter['render_label']) && $parameter['render_label'] && ($label = $container->getLabel())) {
67
-            $content .= '<div class="container-headline"><h3>' . $this->getView()->translate($label) . '</h3></div>';
67
+            $content .= '<div class="container-headline"><h3>'.$this->getView()->translate($label).'</h3></div>';
68 68
         }
69 69
         foreach ($container as $element) {
70 70
             $content .= $this->renderElement($element, $layout, $parameter);
@@ -99,9 +99,9 @@  discard block
 block discarded – undo
99 99
         } elseif ($element instanceof CoreSummaryForm) {
100 100
             $content .= $this->getView()->summaryForm($element);
101 101
         } elseif ($element instanceof Container) {
102
-            $content.= $this->render($element, $layout, $parameter);
102
+            $content .= $this->render($element, $layout, $parameter);
103 103
         } else {
104
-            $content.= $this->getView()->form($element, $layout, $parameter);
104
+            $content .= $this->getView()->form($element, $layout, $parameter);
105 105
         }
106 106
 
107 107
         return $content;
Please login to merge, or discard this patch.
module/Orders/src/Entity/OrderInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,6 @@
 block discarded – undo
79 79
     /**
80 80
      * Sets the invoice address.
81 81
      *
82
-     * @param InvoiceAddressInterface $invoice
83 82
      *
84 83
      * @return self
85 84
      */
Please login to merge, or discard this patch.