Completed
Pull Request — develop (#329)
by Carsten
07:08
created
Organizations/src/Organizations/Controller/Plugin/InvitationHandler.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -310,9 +310,9 @@
 block discarded – undo
310 310
         if (!$user) {
311 311
             $user = $repository->create();
312 312
             $user->setEmail($email)
313
-                 ->setLogin($email)
314
-                 ->setRole(\Auth\Entity\User::ROLE_RECRUITER)
315
-                 ->setIsDraft(true);
313
+                    ->setLogin($email)
314
+                    ->setRole(\Auth\Entity\User::ROLE_RECRUITER)
315
+                    ->setIsDraft(true);
316 316
             $info = $user->getInfo();
317 317
             /* @var $info \Auth\Entity\InfoInterface */
318 318
             $info->setEmail($email);
Please login to merge, or discard this patch.
module/Core/src/Core/View/Helper/Alert.php 1 patch
Indentation   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,6 @@  discard block
 block discarded – undo
52 52
  * @method warning()
53 53
  * @method success()
54 54
  * @method danger()
55
-
56 55
  *
57 56
 *@author Mathias Gelhausen <[email protected]>
58 57
  */
@@ -149,7 +148,7 @@  discard block
 block discarded – undo
149 148
         ) {
150 149
             $class .= ' alert-dismissable';
151 150
             $content = '<button type="button" class="close" data-dismiss="alert">&times;</button>'
152
-                     . '<span class="notification-content">' . $content . '</span>';
151
+                        . '<span class="notification-content">' . $content . '</span>';
153 152
         }
154 153
 
155 154
         $target = array_key_exists('target', $options)?' target="' . $options['target'] . '"':'';
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormRow.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
 
53 53
         if ($element instanceof ViewPartialProviderInterface && !$ignoreViewPartial) {
54 54
             return $this->getView()->partial($element->getViewPartial(),
55
-                                             array(
56
-                                                 'element' => $element,
57
-                                                 'labelWitdh' => $labelWidth,
58
-                                                 'label_attributes' => $labelAttributes
55
+                                                array(
56
+                                                    'element' => $element,
57
+                                                    'labelWitdh' => $labelWidth,
58
+                                                    'label_attributes' => $labelAttributes
59 59
                                                             )
60 60
             );
61 61
         }
@@ -107,10 +107,10 @@  discard block
 block discarded – undo
107 107
         $desc = $element->getOption('description', false);
108 108
         if ($desc && $this->layout != Form::LAYOUT_BARE) {
109 109
             if (null !== ($translator = $this->getTranslator())) {
110
-                             $desc = $translator->translate(
111
-                                 $desc,
112
-                                 $this->getTranslatorTextDomain()
113
-                             );
110
+                                $desc = $translator->translate(
111
+                                    $desc,
112
+                                    $this->getTranslatorTextDomain()
113
+                                );
114 114
             }
115 115
             $elementString .= sprintf(
116 116
                 '<div id="%s-desc" class="cam-description alert alert-info">%s</div>',
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/Form.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,8 @@
 block discarded – undo
71 71
         $basepath   = $renderer->plugin('basepath');
72 72
         
73 73
         $headscript->appendFile($basepath('Core/js/core.spinnerbutton.js'))
74
-                   ->appendFile($basepath('js/select2.min.js'))
75
-                   ->appendFile($basepath('Core/js/core.forms.js'));
74
+                    ->appendFile($basepath('js/select2.min.js'))
75
+                    ->appendFile($basepath('Core/js/core.forms.js'));
76 76
 
77 77
         /* @noinspection PhpParamsInspection */
78 78
         $renderer->headLink()->appendStylesheet($basepath('css/select2.css'));
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormInfoCheckbox.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@
 block discarded – undo
48 48
                 }
49 49
                 $linktext = $translator->translate($linktext);
50 50
                 $link = '<a data-toggle="modal" href="' . $href . '" '
51
-                      . 'data-target="#modal-' . $element->getAttribute('id') . '">'
52
-                      . $linktext . '</a>';
51
+                        . 'data-target="#modal-' . $element->getAttribute('id') . '">'
52
+                        . $linktext . '</a>';
53 53
                 
54 54
                 $label = sprintf($label, $link);
55 55
             }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormEditor.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,8 +134,8 @@
 block discarded – undo
134 134
             $elementOptions = $element->getOptions();
135 135
             if (array_key_exists('placeholder', $elementOptions) && !empty($elementOptions['placeholder'])) {
136 136
                 $placeHolder = '<div id="placeholder-' . $name . '" style="border: 0 none; position: relative; top: 0ex; left: 10px; color: #aaa; height: 0px; overflow: visible;' .
137
-                               (empty($content)?'':'display:none;') .
138
-                               '">' . $this->translator->translate($elementOptions['placeholder']) . '</div>';
137
+                                (empty($content)?'':'display:none;') .
138
+                                '">' . $this->translator->translate($elementOptions['placeholder']) . '</div>';
139 139
             }
140 140
             return
141 141
                 $placeHolder
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormContainer.php 1 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.
module/Core/src/Core/Form/View/Helper/FormElement.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/Core/src/Core/Form/ViewPartialProviderAbstract.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,6 @@
 block discarded – undo
45 45
      */
46 46
     public function getViewPartial()
47 47
     {
48
-         return $this->partial;
48
+            return $this->partial;
49 49
     }
50 50
 }
Please login to merge, or discard this patch.