Passed
Push — 1.10.x ( cede17...88b3ac )
by Angel Fernando Quiroz
56:04
created
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 2 patches
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.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This script is a configuration file for the date plugin. You can use it as a master for other platform plugins (course plugins are slightly different).
4
- * These settings will be used in the administration interface for plugins (Chamilo configuration settings->Plugins)
5
- * @package chamilo.plugin
6
- * @author Julio Montoya <[email protected]>
7
- */
3
+     * This script is a configuration file for the date plugin. You can use it as a master for other platform plugins (course plugins are slightly different).
4
+     * These settings will be used in the administration interface for plugins (Chamilo configuration settings->Plugins)
5
+     * @package chamilo.plugin
6
+     * @author Julio Montoya <[email protected]>
7
+     */
8 8
 /**
9
- * Plugin details (must be present)
10
- */
9
+     * Plugin details (must be present)
10
+     */
11 11
 
12 12
 //the plugin title
13 13
 $plugin_info['title']      = 'Add a button to logout from CAS';
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 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * OpenMeetings API
4
- * @package chamilo.plugin.openmeetings
5
- */
3
+     * OpenMeetings API
4
+     * @package chamilo.plugin.openmeetings
5
+     */
6 6
 /**
7
- * Class OpenMeetingsAPI
8
- */
7
+     * Class OpenMeetingsAPI
8
+     */
9 9
 class OpenMeetingsAPI
10 10
 {
11 11
     private $_user;
Please login to merge, or discard this 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/kannelsms/lib/kannelsms.lib.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,14 +75,13 @@
 block discarded – undo
75 75
         $trimmedKey = trim(CONFIG_SECURITY_API_KEY);
76 76
         if (!empty($trimmedKey)) {
77 77
             $message = array(
78
-                "to" => array_key_exists("mobilePhoneNumber",$additionalParameters) ?
79
-                    $additionalParameters['mobilePhoneNumber'] :
80
-                    $this->getMobilePhoneNumberById($additionalParameters['userId']),
78
+                "to" => array_key_exists("mobilePhoneNumber", $additionalParameters) ?
79
+                    $additionalParameters['mobilePhoneNumber'] : $this->getMobilePhoneNumberById($additionalParameters['userId']),
81 80
                 "message" => $this->getSms($additionalParameters)
82 81
             );
83 82
 
84 83
             if (!empty($message['message'])) {
85
-                if(extension_loaded('curl')) {
84
+                if (extension_loaded('curl')) {
86 85
                     $url = $this->hostAddress.'?username='.
87 86
                         $this->username.'&password='.$this->password.'&from='.
88 87
                         $this->from.'&to='.$message['to'].'&msg='.urlencode($message['message']);
Please login to merge, or discard this patch.
plugin/rss/plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,6 @@
 block discarded – undo
9 9
  * @author Laurent Opprecht
10 10
  */
11 11
 
12
-require_once dirname(__FILE__) . '/lib/rss_plugin.class.php';
12
+require_once dirname(__FILE__).'/lib/rss_plugin.class.php';
13 13
 
14 14
 $plugin_info = RssPlugin::create()->get_info();
Please login to merge, or discard this patch.