Completed
Push — develop ( 39c196...b11cac )
by Carsten
26:33
created
module/Core/src/Core/Form/View/Helper/Element/SpinnerButton.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
             if (null === $buttonContent) {
28 28
                 throw new Exception\DomainException(
29 29
                     sprintf(
30
-                        '%s expects either button content as the second argument, ' .
30
+                        '%s expects either button content as the second argument, '.
31 31
                         'or that the element provided has a label value; neither found',
32 32
                         __METHOD__
33 33
                     )
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
 
46 46
         $escape = $this->getEscapeHtmlHelper();
47 47
         $translator = $this->getTranslator();
48
-        $buttonContent = '<div><div class="processing yk-hidden"><span class="fa-spin yk-icon-spinner yk-icon"></span> ' . $translator->translate('processing', $this->getTranslatorTextDomain()) . '</div><div class="default">' . $escape($buttonContent) . '</div></div>';
48
+        $buttonContent = '<div><div class="processing yk-hidden"><span class="fa-spin yk-icon-spinner yk-icon"></span> '.$translator->translate('processing', $this->getTranslatorTextDomain()).'</div><div class="default">'.$escape($buttonContent).'</div></div>';
49 49
 
50
-        return $openTag . $buttonContent . $this->closeTag();
50
+        return $openTag.$buttonContent.$this->closeTag();
51 51
     }
52 52
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormImageUpload.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,15 +31,15 @@
 block discarded – undo
31 31
 
32 32
         if ($file) {
33 33
             if (0 === strpos($file->getType(), 'image/')) {
34
-                $basepath  = $this->getView()->plugin('basepath');
35
-                $preview = '<img src="' . $basepath($file->getUri()) . '" class="img-polaroid" />';
34
+                $basepath = $this->getView()->plugin('basepath');
35
+                $preview = '<img src="'.$basepath($file->getUri()).'" class="img-polaroid" />';
36 36
             } else {
37
-                $preview = '<span>' . $file->getName() . '(' . $file->getPrettySize() . ')</span>';
37
+                $preview = '<span>'.$file->getName().'('.$file->getPrettySize().')</span>';
38 38
             }
39 39
         }
40 40
         $notice = '<div class="iu-empty-notice" style="padding: 10px; color: lightgrey;">
41 41
                             <div style="padding: 0px 20px 5px;"><span class="yk-icon fa-file-image-o fa-5x"></span></div>
42
-                            <small>' . $translator->translate('Click here to add an image or use drag and drop.') . '</small>
42
+                            <small>' . $translator->translate('Click here to add an image or use drag and drop.').'</small>
43 43
                             
44 44
                         </div>';
45 45
         
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormSimple.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,12 +36,12 @@
 block discarded – undo
36 36
         $formContent = '';
37 37
         foreach ($form as $element) {
38 38
             if ($element instanceof FieldsetInterface) {
39
-                $formContent.= $this->getView()->formCollection($element);
39
+                $formContent .= $this->getView()->formCollection($element);
40 40
             } else {
41
-                $formContent.= $this->getView()->formRowSimple($element);
41
+                $formContent .= $this->getView()->formRowSimple($element);
42 42
             }
43 43
         }
44 44
 
45
-        return $this->openTag($form) . $formContent . $this->closeTag();
45
+        return $this->openTag($form).$formContent.$this->closeTag();
46 46
     }
47 47
 }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormEditorColor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     protected function additionalOptions()
21 21
     {
22
-        return 'toolbar: "undo redo | styleselect forecolor | bold italic | alignleft aligncenter alignright alignjustify | ' .
22
+        return 'toolbar: "undo redo | styleselect forecolor | bold italic | alignleft aligncenter alignright alignjustify | '.
23 23
         'bullist numlist outdent indent ", ';
24 24
     }
25 25
 }
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.
module/Core/src/Core/Form/BaseForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     public function init()
37 37
     {
38 38
         if (empty($this->baseFieldset)) {
39
-            throw new \InvalidArgumentException('For the Form ' . get_class($this) . ' there is no Basefieldset');
39
+            throw new \InvalidArgumentException('For the Form '.get_class($this).' there is no Basefieldset');
40 40
         }
41 41
         $this->addBaseFieldset();
42 42
         $this->addButtonsFieldset();
Please login to merge, or discard this patch.
module/Core/src/Core/Form/Element/FileUpload.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,8 +158,8 @@
 block discarded – undo
158 158
         if ($mimetypes) {
159 159
             $mimeTypeValidator = new MimeType();
160 160
             $mimeTypeValidator->setMagicFile(false)
161
-                              ->disableMagicFile(true)
162
-                              ->setMimeType($this->getAllowedTypes());
161
+                                ->disableMagicFile(true)
162
+                                ->setMimeType($this->getAllowedTypes());
163 163
 
164 164
             $validators[] = $mimeTypeValidator;
165 165
         }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
 
145 145
     public function prepareElement(FormInterface $form)
146 146
     {
147
-        $form->setAttribute('class', ($this->isMultiple() ? 'multi' : 'single') . '-file-upload');
147
+        $form->setAttribute('class', ($this->isMultiple() ? 'multi' : 'single').'-file-upload');
148 148
         $form->setAttribute('data-is-empty', null === $this->getValue());
149 149
         parent::prepareElement($form);
150 150
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/Element/DateRange.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,9 +97,9 @@
 block discarded – undo
97 97
     {
98 98
         $name = $this->getName();
99 99
         
100
-        $this->startDateElement->setName($name . '[startDate]');
101
-        $this->endDateElement->setName($name . '[endDate]');
102
-        $this->currentCheckbox->setName($name . '[current]');
100
+        $this->startDateElement->setName($name.'[startDate]');
101
+        $this->endDateElement->setName($name.'[endDate]');
102
+        $this->currentCheckbox->setName($name.'[current]');
103 103
     }
104 104
     
105 105
     public function __clone()
Please login to merge, or discard this patch.