Passed
Push — master ( c58a40...6d37ad )
by Mathias
10:02 queued 04:27
created
module/Core/src/Form/View/Helper/FormFileUpload.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -113,11 +113,11 @@  discard block
 block discarded – undo
113 113
 
114 114
             return str_replace(
115 115
                 array('#abort',
116
-                      '__file-uri__',
117
-                      '__file-name__',
118
-                      '__file-size__',
119
-                      'fu-working',
120
-                      'fa-file-o'
116
+                        '__file-uri__',
117
+                        '__file-name__',
118
+                        '__file-size__',
119
+                        'fu-working',
120
+                        'fa-file-o'
121 121
                 ),
122 122
                 array("$uri?do=delete", $uri, $name, $size, '', $icon),
123 123
                 $template
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
             '<div class="fu-nonempty-notice"' . ('' == trim($preview) ? ' style="display:none;"' : '') . '>'
141 141
             . $this->getNonEmptyNotice() . '</div>';
142 142
         $emptynotice    = '<div class="fu-empty-notice"'
143
-                          . ('' == trim($preview) ? '' : ' style="display: none;"') . '>
143
+                            . ('' == trim($preview) ? '' : ' style="display: none;"') . '>
144 144
                        ' . $this->getEmptyNotice() . '
145 145
                   </div>';
146 146
 
Please login to merge, or discard this patch.
module/Core/src/Form/View/Helper/FormRow.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
         if ($element instanceof ViewPartialProviderInterface && !$ignoreViewPartial) {
51 51
             return $this->getView()->partial(
52 52
                 $element->getViewPartial(),
53
-                                             array(
54
-                                                 'element' => $element,
55
-                                                 'labelWitdh' => $labelWidth,
56
-                                                 'label_attributes' => $labelAttributes
53
+                                                array(
54
+                                                    'element' => $element,
55
+                                                    'labelWitdh' => $labelWidth,
56
+                                                    'label_attributes' => $labelAttributes
57 57
                                                             )
58 58
             );
59 59
         }
@@ -110,9 +110,9 @@  discard block
 block discarded – undo
110 110
         if ($desc && $this->layout != Form::LAYOUT_BARE) {
111 111
             if (null !== ($translator = $this->getTranslator())) {
112 112
                 $desc = $translator->translate(
113
-                                 $desc,
114
-                                 $this->getTranslatorTextDomain()
115
-                             );
113
+                                    $desc,
114
+                                    $this->getTranslatorTextDomain()
115
+                                );
116 116
             }
117 117
             $elementString .= sprintf(
118 118
                 '<div id="%s-desc" class="cam-description alert alert-info">%s</div>',
Please login to merge, or discard this patch.
module/Core/src/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('modules/Core/js/core.spinnerbutton.js'))
74
-                   //->appendFile($basepath('/assets/select2/js/select2.min.js'))
75
-                   ->appendFile($basepath('modules/Core/js/core.forms.js'));
74
+                    //->appendFile($basepath('/assets/select2/js/select2.min.js'))
75
+                    ->appendFile($basepath('modules/Core/js/core.forms.js'));
76 76
 
77 77
         /* @noinspection PhpParamsInspection */
78 78
         //$renderer->headLink()->appendStylesheet($basepath('/assets/select2/css/select2.css'));
Please login to merge, or discard this patch.
module/Core/src/Form/View/Helper/FormContainer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@
 block discarded – undo
84 84
         if ($element instanceof ViewPartialProviderInterface) {
85 85
             $parameterPartial = array_merge(array('element' => $element, 'layout' => $layout), $parameterPartial);
86 86
             $content .= $this->getView()->partial(
87
-                             $element->getViewPartial(),
88
-                             $parameterPartial
87
+                                $element->getViewPartial(),
88
+                                $parameterPartial
89 89
             );
90 90
         } elseif ($element instanceof ViewHelperProviderInterface) {
91 91
             $helper = $element->getViewHelper();
Please login to merge, or discard this patch.
module/Core/src/Form/View/Helper/FormElement.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
-
4 3
  */
5 4
 
6 5
 namespace Core\Form\View\Helper;
Please login to merge, or discard this patch.
module/Core/src/Form/View/Helper/FormWizardContainer.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -89,25 +89,25 @@
 block discarded – undo
89 89
             $tabId = $containerId . '-' . strtolower($tabElement->getName());
90 90
             $tabsNav .= '<li><a data-toggle="tab" href="#' . $tabId . '">' . $translate($tabElement->getLabel()) . '</a></li>';
91 91
             $tabsContent .= '<div class="tab-pane" id="' . $tabId . '">'
92
-                          . $formContainer($tabElement, $layout, $parameter)
93
-                          . '</div>';
92
+                            . $formContainer($tabElement, $layout, $parameter)
93
+                            . '</div>';
94 94
         }
95 95
 
96 96
         $content .= '<style type="text/css">.tab-content > div > div:first-child { margin-top: 10px; }</style><div class="wizard-container" id="' . $containerId . '">'
97
-                  . '<ul>' . $tabsNav . '</ul>'
98
-                  . '<div class="tab-content">' . $tabsContent . '</div>';
97
+                    . '<ul>' . $tabsNav . '</ul>'
98
+                    . '<div class="tab-content">' . $tabsContent . '</div>';
99 99
         if ($containerParams['pager']) {
100 100
             $content .='<ul class="pager wizard">'
101
-                  . '<li class="previous"><a href="javascript:;">&larr; ' . $translate('previous') . '</a></li>'
102
-                  . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' &rarr;</a></li>'
103
-                  . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">'
104
-                  . (
105
-                      false !== $containerParams['finish_label']
101
+                    . '<li class="previous"><a href="javascript:;">&larr; ' . $translate('previous') . '</a></li>'
102
+                    . '<li class="next"><a href="javascript:;">' . $translate('Next') . ' &rarr;</a></li>'
103
+                    . '<li class="finish' . ($containerParams['finish_enabled'] ? '' : ' disabled') . '">'
104
+                    . (
105
+                        false !== $containerParams['finish_label']
106 106
                      ? '<a class="pull-right" href="' . $containerParams['finish_href'] . '">'
107
-                       . $translate($containerParams['finish_label']) . ' &bull;</a>'
107
+                        . $translate($containerParams['finish_label']) . ' &bull;</a>'
108 108
                      : ''
109 109
                     )
110
-                  . '</li></ul>';
110
+                    . '</li></ul>';
111 111
         }
112 112
         $content .= '</div>';
113 113
 
Please login to merge, or discard this patch.
module/Core/src/View/Helper/LanguageSwitcher.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
 {
29 29
 
30 30
     /**
31
-    * @var string
32
-    */
31
+     * @var string
32
+     */
33 33
     protected $partial = 'partial/language-switcher';
34 34
 
35 35
     /**
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
     {
42 42
 
43 43
         $options = array_merge([
44
-                                   'partial' => $this->partial,
45
-                               ], $options);
44
+                                    'partial' => $this->partial,
45
+                                ], $options);
46 46
 
47 47
         $view = $this->view;
48 48
         $partial = $options['partial'];
Please login to merge, or discard this patch.
module/Core/src/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/Listener/StringListener.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 class StringListener implements ListenerAggregateInterface
10 10
 {
11
-      protected $listeners = array();
11
+        protected $listeners = array();
12 12
 
13 13
     /**
14 14
      * Attach to an event manager
Please login to merge, or discard this patch.