Completed
Push — develop ( 31c340...db8caa )
by Mathias
08:35
created
module/Core/src/Core/Exception/MissingDependencyException.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @license MIT
7
- * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace JobsTest\Form;
Please login to merge, or discard this patch.
module/Core/src/Core/Form/Container.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** Core forms */
11 11
 namespace Core\Form;
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
         }
289 289
         $formName .= $form['name'];
290 290
         $formInstance->setName($formName)
291
-                     ->setAttribute('action', '?form=' . $formName);
291
+                        ->setAttribute('action', '?form=' . $formName);
292 292
 
293 293
         //$testKey = $this->getActionFor($form['type']);
294 294
         
Please login to merge, or discard this patch.
module/Core/src/Core/Form/Element/FileUpload.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license       MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license       MIT
8
+     */
9 9
 
10 10
 /**  */
11 11
 namespace Core\Form\Element;
@@ -158,8 +158,8 @@  discard block
 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.
module/Core/src/Core/Form/HeadscriptProviderInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @license MIT
7
- * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace JobsTest\Form;
Please login to merge, or discard this patch.
module/Core/src/Core/Form/Service/InjectHeadscriptInitializer.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @license MIT
7
- * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @license MIT
7
+     * @copyright  2013 - 2016 Cross Solution <http://cross-solution.de>
8
+     */
9 9
   
10 10
 /** */
11 11
 namespace JobsTest\Form;
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/Form.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /** Core forms view helpers */
11 11
 namespace Core\Form\View\Helper;
@@ -71,12 +71,12 @@  discard block
 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'))
79
-                             ->appendStylesheet($basepath('css/select2-bootstrap.css'));
79
+                                ->appendStylesheet($basepath('css/select2-bootstrap.css'));
80 80
         
81 81
         if ($scripts = $form->getOption('headscript')) {
82 82
             if (!is_array($scripts)) {
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormEditorLight.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- * @author    [email protected]
9
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     * @author    [email protected]
9
+     */
10 10
 
11 11
 namespace Core\Form\View\Helper;
12 12
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $options='';
31 31
         if (in_array($this->language,['de','fr','it','es','hi','ar','ru','zh','tr'])) {
32 32
             $options='language: "'.$this->language.'",'.
33
-                     'language_url: "'. $this->languagePath . $this->language.'.js",';
33
+                        'language_url: "'. $this->languagePath . $this->language.'.js",';
34 34
         }
35 35
         return $options;
36 36
     }
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
         $this->language=$language;
45 45
     }
46 46
     
47
-     /**
48
-     * Sets the language path for tinyMCE language files
49
-     *
50
-     * @param $languagePath
51
-     */
47
+        /**
48
+         * Sets the language path for tinyMCE language files
49
+         *
50
+         * @param $languagePath
51
+         */
52 52
     public function setLanguagePath($languagePath) {
53 53
         $this->languagePath=$languagePath;
54 54
     }
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormFileUpload.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license       MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license       MIT
8
+     */
9 9
 
10 10
 /**  */
11 11
 namespace Core\Form\View\Helper;
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
         $renderer = $this->getView();
51 51
         $basepath = $renderer->plugin('basepath');
52 52
         $renderer->headscript()
53
-                 ->appendFile($basepath('js/jquery-file-upload/vendor/jquery.ui.widget.js'))
54
-                 ->appendFile($basepath('js/jquery-file-upload/jquery.iframe-transport.js'))
55
-                 ->appendFile($basepath('js/jquery-file-upload/jquery.fileupload.js'))
56
-                 ->appendFile($basepath($this->scriptFile));
53
+                    ->appendFile($basepath('js/jquery-file-upload/vendor/jquery.ui.widget.js'))
54
+                    ->appendFile($basepath('js/jquery-file-upload/jquery.iframe-transport.js'))
55
+                    ->appendFile($basepath('js/jquery-file-upload/jquery.fileupload.js'))
56
+                    ->appendFile($basepath($this->scriptFile));
57 57
 
58 58
         $markup = $this->renderMarkup($element);
59 59
         // $fileInput = parent::render($element);
@@ -126,11 +126,11 @@  discard block
 block discarded – undo
126 126
 
127 127
             return str_replace(
128 128
                 array('#abort',
129
-                      '__file-uri__',
130
-                      '__file-name__',
131
-                      '__file-size__',
132
-                      'fu-working',
133
-                      'fa-file-o'
129
+                        '__file-uri__',
130
+                        '__file-name__',
131
+                        '__file-size__',
132
+                        'fu-working',
133
+                        'fa-file-o'
134 134
                 ),
135 135
                 array("$uri?do=delete", $uri, $name, $size, '', $icon),
136 136
                 $template
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
             '<div class="fu-nonempty-notice"' . ('' == trim($preview) ? ' style="display:none;"' : '') . '>'
159 159
             . $notice . '</div>';
160 160
         $emptynotice    = '<div class="fu-empty-notice"'
161
-                          . ('' == trim($preview) ? '' : ' style="display: none;"') . '>
161
+                            . ('' == trim($preview) ? '' : ' style="display: none;"') . '>
162 162
                        <div class="pull-left">
163 163
                             <span class="yk-icon fa-files-o fa-5x"></span>
164 164
                         </div>' . $notice . '
Please login to merge, or discard this patch.
module/Core/src/Core/Form/View/Helper/FormInfoCheckbox.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * YAWIK
4
- *
5
- * @filesource
6
- * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
- * @license   MIT
8
- */
3
+     * YAWIK
4
+     *
5
+     * @filesource
6
+     * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de)
7
+     * @license   MIT
8
+     */
9 9
 
10 10
 /**  */
11 11
 namespace Core\Form\View\Helper;
@@ -48,8 +48,8 @@  discard block
 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.