Completed
Push — 1.10.x ( 986d2b...f19030 )
by Angel Fernando Quiroz
69:29 queued 19:50
created
CoreBundle/Component/Editor/CkEditor/Toolbar/ProjectCommentStudent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         return [
90 90
             ['Save', 'NewPage', 'Templates', '-', 'PasteFromWord'],
91 91
             ['Undo', 'Redo'],
92
-            ['Link', 'Image', 'Video', 'Flash', 'Audio', 'Table',  'Asciimath'],
92
+            ['Link', 'Image', 'Video', 'Flash', 'Audio', 'Table', 'Asciimath'],
93 93
             ['BulletedList', 'NumberedList', 'HorizontalRule'],
94 94
             ['JustifyLeft', 'JustifyCenter', 'JustifyBlock'],
95 95
             ['Format', 'Font', 'FontSize', 'Bold', 'Italic', 'TextColor'],
Please login to merge, or discard this patch.
CoreBundle/Component/Editor/CkEditor/Toolbar/TestQuestionDescription.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
     public function getConfig()
17 17
     {
18 18
         $config['toolbarGroups'] = array(
19
-            array('name' => 'document',  'groups' =>array('document', 'doctools')),
20
-            array('name' => 'clipboard',    'groups' =>array('clipboard', 'undo')),
21
-            array('name' => 'editing',    'groups' =>array('clipboard', 'undo')),
19
+            array('name' => 'document', 'groups' =>array('document', 'doctools')),
20
+            array('name' => 'clipboard', 'groups' =>array('clipboard', 'undo')),
21
+            array('name' => 'editing', 'groups' =>array('clipboard', 'undo')),
22 22
             //array('name' => 'forms',    'groups' =>array('clipboard', 'undo', )),
23 23
             '/',
24
-            array('name' => 'basicstyles',    'groups' =>array('basicstyles', 'cleanup')),
25
-            array('name' => 'paragraph',    'groups' =>array('list', 'indent', 'blocks', 'align')),
24
+            array('name' => 'basicstyles', 'groups' =>array('basicstyles', 'cleanup')),
25
+            array('name' => 'paragraph', 'groups' =>array('list', 'indent', 'blocks', 'align')),
26 26
             array('name' => 'links'),
27 27
             array('name' => 'insert'),
28 28
             '/',
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Wiki.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -56,11 +56,11 @@  discard block
 block discarded – undo
56 56
                 '-',
57 57
                 'Find'
58 58
             ],
59
-            ['Wikilink','Link','Unlink','Anchor'],
60
-            ['Image','Video','Flash','Oembed','Youtube','Audio','Asciimath'],
61
-            ['Table','HorizontalRule','Smiley','SpecialChar','leaflet'],
62
-            ['Format','Font','FontSize'],
63
-            ['Bold','Italic','Underline'],
59
+            ['Wikilink', 'Link', 'Unlink', 'Anchor'],
60
+            ['Image', 'Video', 'Flash', 'Oembed', 'Youtube', 'Audio', 'Asciimath'],
61
+            ['Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'leaflet'],
62
+            ['Format', 'Font', 'FontSize'],
63
+            ['Bold', 'Italic', 'Underline'],
64 64
             [
65 65
                 'Subscript',
66 66
                 'Superscript',
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         return [
95 95
             ['Save', 'NewPage', 'Templates', '-', 'PasteText'],
96 96
             ['Undo', 'Redo'],
97
-            ['Wikilink', 'Link', 'Image', 'Video', 'Flash', 'Audio', 'Table',  'Asciimath', 'Asciisvg'],
97
+            ['Wikilink', 'Link', 'Image', 'Video', 'Flash', 'Audio', 'Table', 'Asciimath', 'Asciisvg'],
98 98
             ['BulletedList', 'NumberedList', 'HorizontalRule'],
99 99
             ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
100 100
             ['Format', 'Font', 'FontSize', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor', 'Source'],
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -145,14 +145,14 @@  discard block
 block discarded – undo
145 145
         return [[
146 146
             'title' => get_lang('EmptyTemplate'),
147 147
             'description' => null,
148
-            'image' => api_get_path(WEB_APP_PATH) . 'home/default_platform_document/template_thumb/empty.gif',
148
+            'image' => api_get_path(WEB_APP_PATH).'home/default_platform_document/template_thumb/empty.gif',
149 149
             'html' => '
150 150
                 <!DOCYTPE html>
151 151
                 <html>
152 152
                     <head>
153
-                        <meta charset="' . api_get_system_encoding() . '" />
153
+                        <meta charset="' . api_get_system_encoding().'" />
154 154
                     </head>
155
-                    <body  dir="' . api_get_text_direction() . '">
155
+                    <body  dir="' . api_get_text_direction().'">
156 156
                         <p>
157 157
                             <br/>
158 158
                         </p>
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
         $search = array('{CSS}', '{IMG_DIR}', '{REL_PATH}', '{COURSE_DIR}');
176 176
         $replace = array(
177 177
             '',
178
-            api_get_path(REL_CODE_PATH) . 'img/',
178
+            api_get_path(REL_CODE_PATH).'img/',
179 179
             api_get_path(REL_PATH),
180 180
             api_get_path(REL_DEFAULT_COURSE_DOCUMENT_PATH),
181 181
             api_get_path(REL_DEFAULT_COURSE_DOCUMENT_PATH)
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
         foreach ($systemTemplates as $template) {
187 187
             $image = $template->getImage();
188 188
             $image = !empty($image) ? $image : 'empty.gif';
189
-            $image = api_get_path(WEB_APP_PATH) . 'home/default_platform_document/template_thumb/' . $image;
189
+            $image = api_get_path(WEB_APP_PATH).'home/default_platform_document/template_thumb/'.$image;
190 190
 
191 191
             /*$image = $this->urlGenerator->generate(
192 192
                 'get_document_template_action',
@@ -238,12 +238,12 @@  discard block
 block discarded – undo
238 238
             $templateItem['image'] = api_get_path(WEB_APP_PATH)
239 239
                 . 'home/default_platform_document/template_thumb/noimage.gif';
240 240
             $templateItem['html'] = file_get_contents(api_get_path(SYS_COURSE_PATH)
241
-                . $courseDirectory . '/document' . $templateData['path']);
241
+                . $courseDirectory.'/document'.$templateData['path']);
242 242
 
243 243
             $image = $template->getImage();
244 244
             if (!empty($image)) {
245 245
                 $templateItem['image'] = api_get_path(WEB_COURSE_PATH)
246
-                    . $courseDirectory . '/upload/template_thumbnails/' . $template->getImage();
246
+                    . $courseDirectory.'/upload/template_thumbnails/'.$template->getImage();
247 247
             }
248 248
 
249 249
             $templateList[] = $templateItem;
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/Editor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
                 return $var ? 'true' : 'false'; // Lowercase necessary!
129 129
             case 'integer':
130 130
             case 'double':
131
-                return (string)$var;
131
+                return (string) $var;
132 132
             case 'resource':
133 133
             case 'string':
134 134
                 return '"'.str_replace(
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/Connector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -327,7 +327,7 @@
 block discarded – undo
327 327
     {
328 328
     	return strpos(basename($path), '.') === 0       // if file/folder begins with '.' (dot)
329 329
     		? !($attr == 'read' || $attr == 'write')    // set read+write to false, other (locked+hidden) set to true
330
-    		:  null;                                    // else elFinder decide it itself
330
+    		:  null; // else elFinder decide it itself
331 331
     }
332 332
 
333 333
     /**
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/HTMLPurifier/Filter/AllowIframes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             } elseif ($vimeoMatch) {
66 66
                 $extra .= ' webkitAllowFullScreen mozallowfullscreen allowFullScreen';
67 67
             }
68
-            return '<iframe ' . $matches[1] . $extra . '></iframe>';
68
+            return '<iframe '.$matches[1].$extra.'></iframe>';
69 69
         } else {
70 70
             return '';
71 71
         }
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/Skill.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
     public function getWebIconPath()
202 202
     {
203 203
         if ($this->getIcon()) {
204
-            return api_get_path(WEB_UPLOAD_PATH) . "badges/{$this->getIcon()}";
204
+            return api_get_path(WEB_UPLOAD_PATH)."badges/{$this->getIcon()}";
205 205
         }
206 206
 
207 207
         return \Display::return_icon('badges-default.png', null, null, ICON_SIZE_HUGE, null, true);
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/Session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -470,7 +470,7 @@
 block discarded – undo
470 470
             Criteria::expr()->eq("user", $user)
471 471
         );
472 472
 
473
-        if (!is_null($status))  {
473
+        if (!is_null($status)) {
474 474
             $criteria->andWhere(
475 475
                 Criteria::expr()->eq("status", $status)
476 476
             );
Please login to merge, or discard this patch.