Completed
Push — 1.10.x ( 73a570...673229 )
by Yannick
411:51 queued 372:03
created
src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Basic.php 2 patches
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      * @var array
18 18
      */
19 19
     public $defaultPlugins = array(
20
-       'adobeair',
20
+        'adobeair',
21 21
         'ajax',
22 22
         'audio',
23 23
         'bidi',
@@ -35,30 +35,30 @@  discard block
 block discarded – undo
35 35
         'iframe',
36 36
         'iframedialog',
37 37
         'indentblock',
38
-       'justify',
39
-       'language',
40
-       'lineutils',
41
-       'liststyle',
42
-       'newpage',
43
-       'oembed',
44
-       'pagebreak',
45
-       'preview',
46
-       'print',
47
-       'save',
48
-       'selectall',
49
-       'sharedspace',
50
-       'showblocks',
51
-       'smiley',
52
-       'sourcedialog',
53
-       'stylesheetparser',
54
-       'tableresize',
55
-       'templates',
56
-       'uicolor',
57
-       'video',
58
-       'widget',
59
-       'wikilink',
60
-       'wordcount',
61
-       'xml'
38
+        'justify',
39
+        'language',
40
+        'lineutils',
41
+        'liststyle',
42
+        'newpage',
43
+        'oembed',
44
+        'pagebreak',
45
+        'preview',
46
+        'print',
47
+        'save',
48
+        'selectall',
49
+        'sharedspace',
50
+        'showblocks',
51
+        'smiley',
52
+        'sourcedialog',
53
+        'stylesheetparser',
54
+        'tableresize',
55
+        'templates',
56
+        'uicolor',
57
+        'video',
58
+        'widget',
59
+        'wikilink',
60
+        'wordcount',
61
+        'xml'
62 62
     );
63 63
 
64 64
     /**
Please login to merge, or discard this patch.
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -70,6 +70,8 @@
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * @inheritdoc
73
+     * @param string $toolbar
74
+     * @param string $prefix
73 75
      */
74 76
     public function __construct(
75 77
         $toolbar = null,
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/TestFreeAnswer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord'],
55 55
             ['Undo', 'Redo', '-', 'SelectAll', 'Find', '-', 'RemoveFormat'],
56 56
             ['Link', 'Unlink', 'Anchor', 'Glossary'],
57
-            ['Image', 'Mapping', 'Video', 'Oembed', 'Youtube', 'Flash', 'Audio', 'leaflet', 'Smiley', 'SpecialChar', 'Asciimath',],
57
+            ['Image', 'Mapping', 'Video', 'Oembed', 'Youtube', 'Flash', 'Audio', 'leaflet', 'Smiley', 'SpecialChar', 'Asciimath', ],
58 58
             '/',
59 59
             ['Table', '-', 'CreateDiv'],
60 60
             ['BulletedList', 'NumberedList', 'HorizontalRule', '-', 'Outdent', 'Indent', 'Blockquote'],
Please login to merge, or discard this patch.
Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/UniqueAnswerImage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
     {
19 19
         $config['toolbarGroups'] = array(
20 20
             '/',
21
-            array('name' => 'basicstyles',    'groups' =>array('basicstyles', 'cleanup', )),
22
-            array('name' => 'paragraph',    'groups' =>array('list', 'indent', 'blocks', 'align' )),
21
+            array('name' => 'basicstyles', 'groups' =>array('basicstyles', 'cleanup',)),
22
+            array('name' => 'paragraph', 'groups' =>array('list', 'indent', 'blocks', 'align')),
23 23
             array('name' => 'links'),
24 24
             array('name' => 'insert'),
25 25
             '/',
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Component/Editor/CkEditor/Toolbar/Minimal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             ],
35 35
             [
36 36
                 'name' => 'links',
37
-                'items' => [ 'Link', 'Unlink', 'Anchor']
37
+                'items' => ['Link', 'Unlink', 'Anchor']
38 38
             ]
39 39
         ];
40 40
 
Please login to merge, or discard this patch.
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/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/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.