Passed
Push — 1.10.x ( 51b3f0...0b3bd8 )
by Yannick
116:33 queued 61:35
created
plugin/tour/ajax/save.ajax.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /* For licensing terms, see /license.txt */
3 3
 /**
4
- * Get the intro steps for the web page
5
- * @author Angel Fernando Quiroz Campos <[email protected]>
6
- * @package chamilo.plugin.tour
7
- */
4
+     * Get the intro steps for the web page
5
+     * @author Angel Fernando Quiroz Campos <[email protected]>
6
+     * @package chamilo.plugin.tour
7
+     */
8 8
 /**
9
- * Init
10
- */
9
+     * Init
10
+     */
11 11
 require_once __DIR__ . '/../../../main/inc/global.inc.php';
12 12
 require_once __DIR__ . '/../config.php';
13 13
 
Please login to merge, or discard this patch.
plugin/advanced_subscription/src/AdvancedSubscriptionPlugin.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1069,7 +1069,7 @@
 block discarded – undo
1069 1069
      */
1070 1070
     public function getStatusMessage($status, $isAble = true)
1071 1071
     {
1072
-	$message = '';
1072
+    $message = '';
1073 1073
         switch ($status) {
1074 1074
             case ADVANCED_SUBSCRIPTION_QUEUE_STATUS_NO_QUEUE:
1075 1075
                 if ($isAble) {
Please login to merge, or discard this patch.
plugin/advanced_subscription/src/HookAdvancedSubscription.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         if ($data['type'] === HOOK_EVENT_TYPE_PRE) {
68 68
 
69 69
         } elseif ($data['type'] === HOOK_EVENT_TYPE_POST) {
70
-           /** @var \nusoap_server $server */
70
+            /** @var \nusoap_server $server */
71 71
             $server = &$data['server'];
72 72
 
73 73
             /** WSSessionListInCategory */
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
         }
425 425
         if (!WSHelperVerifyKey($params)) {
426 426
 
427
-           //return return_error(WS_ERROR_SECRET_KEY);
427
+            //return return_error(WS_ERROR_SECRET_KEY);
428 428
         }
429 429
         // Check if category ID is set
430 430
         if (!empty($params['id']) && empty($params['name'])) {
Please login to merge, or discard this patch.
plugin/advanced_subscription/src/admin_view.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /* For license terms, see /license.txt */
3 3
 /**
4
- * Index of the Advanced subscription plugin courses list
5
- * @package chamilo.plugin.advanced_subscription
6
- */
4
+     * Index of the Advanced subscription plugin courses list
5
+     * @package chamilo.plugin.advanced_subscription
6
+     */
7 7
 /**
8
- * Init
9
- */
8
+     * Init
9
+     */
10 10
 require_once __DIR__ . '/../config.php';
11 11
 // protect
12 12
 api_protect_admin_script();
Please login to merge, or discard this patch.
plugin/advanced_subscription/src/scripts/insert_session_fields.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /* For license terms, see /license.txt */
3 3
 /**
4
- * This script generates session fields needed for this plugin
5
- * @package chamilo.plugin.advanced_subscription
6
- */
4
+     * This script generates session fields needed for this plugin
5
+     * @package chamilo.plugin.advanced_subscription
6
+     */
7 7
 
8 8
 //exit;
9 9
 
Please login to merge, or discard this patch.
plugin/advanced_subscription/src/terms_and_conditions.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /* For license terms, see /license.txt */
3 3
 /**
4
- * Script to show sessions terms and conditions
5
- * @package chamilo.plugin.advanced_subscription
6
- */
4
+     * Script to show sessions terms and conditions
5
+     * @package chamilo.plugin.advanced_subscription
6
+     */
7 7
 /**
8
- * Init
9
- */
8
+     * Init
9
+     */
10 10
 require_once __DIR__ . '/../config.php';
11 11
 // start plugin
12 12
 $plugin = AdvancedSubscriptionPlugin::create();
Please login to merge, or discard this patch.
plugin/advanced_subscription/test/ws_session_user.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /* For license terms, see /license.txt */
3 3
 /**
4
- * A script to test session details by user web service
5
- * @package chamilo.plugin.advanced_subscription
6
- */
4
+     * A script to test session details by user web service
5
+     * @package chamilo.plugin.advanced_subscription
6
+     */
7 7
 
8 8
 /**
9 9
  * Init
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
     //error_log($secret_key.'-'.$security_key);
58 58
 }
59 59
 /**
60
- * End WSHelperVerifyKey
61
- */
60
+     * End WSHelperVerifyKey
61
+     */
62 62
 
63 63
 $params['secret_key'] = sha1($security_key);
64 64
 
Please login to merge, or discard this patch.
plugin/advanced_subscription/test/terms_to_pdf.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /* For license terms, see /license.txt */
3 3
 /**
4
- * A script to render all mails templates
5
- * @package chamilo.plugin.advanced_subscription
6
- */
4
+     * A script to render all mails templates
5
+     * @package chamilo.plugin.advanced_subscription
6
+     */
7 7
 
8 8
 require_once __DIR__ . '/../config.php';
9 9
 
Please login to merge, or discard this patch.
plugin/advanced_subscription/plugin.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /* For license terms, see /license.txt */
3 3
 /**
4
- * 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).
5
- * These settings will be used in the administration interface for plugins (Chamilo configuration settings->Plugins)
6
- * @package chamilo.plugin.advanced_subscription
7
- */
4
+     * 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).
5
+     * These settings will be used in the administration interface for plugins (Chamilo configuration settings->Plugins)
6
+     * @package chamilo.plugin.advanced_subscription
7
+     */
8 8
 /**
9
- * Plugin details (must be present)
10
- */
9
+     * Plugin details (must be present)
10
+     */
11 11
 require_once __DIR__ . '/config.php';
12 12
 $plugin_info = AdvancedSubscriptionPlugin::create()->get_info();
Please login to merge, or discard this patch.