Passed
Push — 1.10.x ( 08890a...2189d7 )
by Yannick
116:38 queued 75:46
created
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/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/ajax/advanced_subscription.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
- * Script to receipt request to subscribe and confirmation action to queue
5
- * @author Daniel Alejandro Barreto Alva <[email protected]>
6
- * @package chamilo.plugin.advanced_subscription
7
- */
4
+     * Script to receipt request to subscribe and confirmation action to queue
5
+     * @author Daniel Alejandro Barreto Alva <[email protected]>
6
+     * @package chamilo.plugin.advanced_subscription
7
+     */
8 8
 /**
9
- * Init
10
- */
9
+     * Init
10
+     */
11 11
 require_once __DIR__ . '/../config.php';
12 12
 
13 13
 $plugin = AdvancedSubscriptionPlugin::create();
Please login to merge, or discard this patch.
plugin/advanced_subscription/uninstall.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /* For license terms, see /license.txt */
3 3
 /**
4
- * This script is included by main/admin/settings.lib.php when unselecting a plugin
5
- * and is meant to remove things installed by the install.php script in both
6
- * the global database and the courses tables
7
- * @package chamilo.plugin.advanced_subscription
4
+     * This script is included by main/admin/settings.lib.php when unselecting a plugin
5
+     * and is meant to remove things installed by the install.php script in both
6
+     * the global database and the courses tables
7
+     * @package chamilo.plugin.advanced_subscription
8 8
 */
9 9
 
10 10
 /**
Please login to merge, or discard this patch.
plugin/resubscription/src/HookResubscription.php 1 patch
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.