Completed
Push — 1.10.x ( 2be62b...254ea6 )
by Angel Fernando Quiroz
133:23 queued 88:52
created
plugin/resubscription/src/HookResubscription.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
             $resubscriptionLimit = Resubscription::create()->get('resubscription_limit');
33 33
 
34
-             // Initialize variables as a calendar year by default
34
+                // Initialize variables as a calendar year by default
35 35
             $limitDateFormat = 'Y-01-01';
36 36
             $limitDate = gmdate($limitDateFormat);
37 37
             $resubscriptionOffset = "1 year";
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
                     $resubscriptionDate = gmdate($limitDateFormat, strtotime($endDate." +$resubscriptionOffset"));
102 102
                     $icon = Display::return_icon('students.gif', get_lang('Student'));
103 103
                     $canResubscribeFrom = sprintf(get_plugin_lang('CanResubscribeFromX', 'resubscription'), $resubscriptionDate);
104
-                    throw new Exception(Display::label($icon . ' ' . $canResubscribeFrom, "info"));
104
+                    throw new Exception(Display::label($icon.' '.$canResubscribeFrom, "info"));
105 105
                 }
106 106
             }
107 107
         }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     /**
24 24
      * Limit session resubscription when a Chamilo user is resubscribed to a session
25
-     * @param HookCreateUserEventInterface $hook The hook
25
+     * @param HookResubscribeEventInterface $hook The hook
26 26
      */
27 27
     public function hookResubscribe(HookResubscribeEventInterface $hook)
28 28
     {
Please login to merge, or discard this patch.
plugin/share_buttons/plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,4 +17,4 @@
 block discarded – undo
17 17
 // The plugin author.
18 18
 $plugin_info['author']      = 'Julio Montoya';
19 19
 // For bigger icons change this value to addthis_32x32_style
20
-$plugin_info['icon_class']   = '';
20
+$plugin_info['icon_class'] = '';
Please login to merge, or discard this patch.
plugin/follow_buttons/plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 $plugin_info['templates']   = array('template.tpl');
24 24
 
25 25
 //For bigger icons change this value to addthis_32x32_style
26
-$plugin_info['icon_class']   = ''; 
26
+$plugin_info['icon_class'] = ''; 
27 27
 
28 28
 //To use vertical alignment change this value to 
29
-$plugin_info['position']   = 'addthis_default_style'; //addthis_vertical_style
29
+$plugin_info['position'] = 'addthis_default_style'; //addthis_vertical_style
Please login to merge, or discard this patch.
plugin/add_cas_login_button/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     // the comm
19 19
     $comm_label = api_htmlentities(
20 20
         $plugin_info['settings']['add_cas_login_button_cas_button_comment']
21
-    );;
21
+    ); ;
22 22
     // URL of the image
23 23
     $url_label = $plugin_info['settings']['add_cas_login_button_cas_image_url'];
24 24
 
Please login to merge, or discard this patch.
plugin/add_cas_login_button/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']      = 'Add a button to login using CAS';
13
+$plugin_info['title'] = 'Add a button to login using CAS';
14 14
 
15 15
 //the comments that go with the plugin
16 16
 $plugin_info['comment']     = "If CAS is activated, this plugin add a text and a button on the login page to login with CAS. Configure plugin to add title, comment and logo.";
@@ -38,4 +38,4 @@  discard block
 block discarded – undo
38 38
 $plugin_info['settings_form'] = $form;
39 39
 
40 40
 //set the templates that are going to be used
41
-$plugin_info['templates']   = array('template.tpl');
41
+$plugin_info['templates'] = array('template.tpl');
Please login to merge, or discard this patch.
plugin/skype/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,4 +6,4 @@
 block discarded – undo
6 6
  * @package chamilo.plugin.skype
7 7
  */
8 8
 
9
-require_once api_get_path(SYS_PATH) . 'main/inc/global.inc.php';
9
+require_once api_get_path(SYS_PATH).'main/inc/global.inc.php';
Please login to merge, or discard this patch.
plugin/skype/install.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
  * @author Imanol Losada Oriol <[email protected]>
6 6
  * @package chamilo.plugin.skype
7 7
  */
8
-require_once __DIR__ . '/config.php';
8
+require_once __DIR__.'/config.php';
9 9
 
10 10
 Skype::create()->install();
Please login to merge, or discard this patch.
plugin/openmeetings/lib/openmeetings_api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
     {
20 20
         $this->_user = CONFIG_OPENMEETINGS_USER;
21 21
         $this->_pass = CONFIG_OPENMEETINGS_PASS;
22
-        $this->_serverBaseUrl  = CONFIG_OPENMEETINGS_SERVER_URL;
22
+        $this->_serverBaseUrl = CONFIG_OPENMEETINGS_SERVER_URL;
23 23
     }
24 24
 }
Please login to merge, or discard this patch.
plugin/openmeetings/lib/room.class.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
         global $_configuration;
50 50
         $this->name = 'C'.api_get_real_course_id().'-'.api_get_session_id();
51 51
         $accessUrl = api_get_access_url($_configuration['access_url']);
52
-        $this->externalRoomType = substr($accessUrl['url'], strpos($accessUrl['url'],'://')+3,-1);
52
+        $this->externalRoomType = substr($accessUrl['url'], strpos($accessUrl['url'], '://') + 3, -1);
53 53
         if (strcmp($this->externalRoomType, 'localhost') == 0) {
54
-            $this->externalRoomType = substr(api_get_path(WEB_PATH), strpos(api_get_path(WEB_PATH),'://')+3, -1);
54
+            $this->externalRoomType = substr(api_get_path(WEB_PATH), strpos(api_get_path(WEB_PATH), '://') + 3, -1);
55 55
         }
56 56
         $this->externalRoomType = 'chamilolms.'.$this->externalRoomType;
57 57
     }
@@ -110,6 +110,6 @@  discard block
 block discarded – undo
110 110
         if (!isset($this->$attribute)) {
111 111
             return $voidReturn;
112 112
         }
113
-        return $this->$attribute?'true':'false';
113
+        return $this->$attribute ? 'true' : 'false';
114 114
     }
115 115
 }
Please login to merge, or discard this patch.