Completed
Push — 1.11.x ( d78ca9...0f5bcf )
by José
71:55 queued 46:29
created
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/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/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.
src/Chamilo/CoreBundle/Entity/Repository/ItemPropertyRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
                     $users = \GroupManager::getStudentsAndTutors($groupId);
197 197
                     $newUserList = array();
198 198
                     if (!empty($users)) {
199
-                        foreach($users as $user) {
199
+                        foreach ($users as $user) {
200 200
                             $newUserList[] = $user['user_id'];
201 201
                         }
202 202
                         $this->unsubcribeUsersToItem(
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/Repository/SequenceRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             foreach ($from as $subVertex) {
53 53
                 $vertexId = $subVertex->getId();
54 54
                 $sessionInfo = api_get_session_info($vertexId);
55
-                $sessionInfo['admin_link'] = '<a href="' . \SessionManager::getAdminPath($vertexId) . '">' . $sessionInfo['name'] . '</a>';
55
+                $sessionInfo['admin_link'] = '<a href="'.\SessionManager::getAdminPath($vertexId).'">'.$sessionInfo['name'].'</a>';
56 56
                 $result['requirements'][] = $sessionInfo;
57 57
             }
58 58
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             foreach ($to as $subVertex) {
61 61
                 $vertexId = $subVertex->getId();
62 62
                 $sessionInfo = api_get_session_info($vertexId);
63
-                $sessionInfo['admin_link'] = '<a href="' . \SessionManager::getAdminPath($vertexId) . '">' . $sessionInfo['name'] . '</a>';
63
+                $sessionInfo['admin_link'] = '<a href="'.\SessionManager::getAdminPath($vertexId).'">'.$sessionInfo['name'].'</a>';
64 64
                 $result['dependencies'][] = $sessionInfo;
65 65
             }
66 66
         }
Please login to merge, or discard this patch.
plugin/formLogin_hide_unhide/plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  */
11 11
 
12 12
 //the plugin title
13
-$plugin_info['title']      = 'Hide/Unhide the Login/Password default form';
13
+$plugin_info['title'] = 'Hide/Unhide the Login/Password default form';
14 14
 
15 15
 //the comments that go with the plugin
16 16
 $plugin_info['comment']     = "If you use another way of authentication than local, you may want to hide the Login/Password default Form to avoid users mistakes. This plugin replace the Login/Password form with a text that unhide the Login/Password form if you click on it.";
@@ -31,4 +31,4 @@  discard block
 block discarded – undo
31 31
 $plugin_info['settings_form'] = $form;
32 32
 
33 33
 //set the templates that are going to be used
34
-$plugin_info['templates']   = array('template.tpl');
34
+$plugin_info['templates'] = array('template.tpl');
Please login to merge, or discard this patch.
plugin/createdrupaluser/src/HookCreateDrupalUser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         $data = $hook->getEventData();
30 30
 
31 31
         $drupalDomain = CreateDrupalUser::create()->get('drupal_domain');
32
-        $drupalDomain = rtrim($drupalDomain, '/') . '/';
32
+        $drupalDomain = rtrim($drupalDomain, '/').'/';
33 33
 
34 34
         if ($data['type'] === HOOK_EVENT_TYPE_POST) {
35 35
             $return = $data['return'];
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             );
51 51
 
52 52
             $options = array(
53
-                'location' => $drupalDomain . 'sites/all/modules/chamilo/soap.php?wsdl',
53
+                'location' => $drupalDomain.'sites/all/modules/chamilo/soap.php?wsdl',
54 54
                 'uri' => $drupalDomain
55 55
             );
56 56
 
Please login to merge, or discard this patch.
plugin/before_login/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     $form = new FormValidator('form');
36 36
 
37
-    $renderer =& $form->defaultRenderer();
37
+    $renderer = & $form->defaultRenderer();
38 38
     $renderer->setFormTemplate('<form{attributes}><table border="0" cellpadding="5" cellspacing="0" width="100%">{content}</table></form>');
39 39
     $renderersetCustomElementTemplate->setCustomElementTemplate('<tr><td>{element}</td></tr>');
40 40
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     $form2 = new FormValidator('form');
55 55
 
56 56
     if (!empty($option2) && !empty($urlOption2)) {
57
-        $renderer =& $form2->defaultRenderer();
57
+        $renderer = & $form2->defaultRenderer();
58 58
         $renderer->setHeaderTemplate('');
59 59
         $renderer->setFormTemplate('<form{attributes}><table border="0" cellpadding="5" cellspacing="0" width="100%">{content}</table></form>');
60 60
         $renderer->setCustomElementTemplate('<tr><td>{element}</td></tr>');
Please login to merge, or discard this patch.