Test Failed
Push — main ( c8394f...8477f1 )
by Rafael
66:21
created
public/htdocs/admin/webhook.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 // Parameters
69 69
 $action = GETPOST('action', 'aZ09');
70 70
 $backtopage = GETPOST('backtopage', 'alpha');
71
-$modulepart = GETPOST('modulepart', 'aZ09');    // Used by actions_setmoduleoptions.inc.php
71
+$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php
72 72
 
73 73
 $value = GETPOST('value', 'alpha');
74 74
 $label = GETPOST('label', 'alpha');
Please login to merge, or discard this patch.
public/htdocs/admin/fckeditor.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
             $error++;
129 129
         }
130 130
     } else {
131
-        $error = -1;    // -1 means a warning message
131
+        $error = -1; // -1 means a warning message
132 132
     }
133 133
 
134 134
     if ($error == 0) {
Please login to merge, or discard this patch.
public/htdocs/admin/oauthlogintokens.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
                 $provider . '_NAME',
157 157
                 $provider . '_ID',
158 158
                 $provider . '_SECRET',
159
-                $provider . '_URLAUTHORIZE',  // For custom oauth links
159
+                $provider . '_URLAUTHORIZE', // For custom oauth links
160 160
                 $provider . '_SCOPE'          // For custom oauth links
161 161
             );
162 162
         }
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     if (!empty($listinsetup)) {
169 169
         foreach ($listinsetup as $key) {
170 170
             $supported = 0;
171
-            $keyforsupportedoauth2array = $key[0];                      // May be OAUTH_GOOGLE_NAME or OAUTH_GOOGLE_xxx_NAME
171
+            $keyforsupportedoauth2array = $key[0]; // May be OAUTH_GOOGLE_NAME or OAUTH_GOOGLE_xxx_NAME
172 172
             $keyforsupportedoauth2array = preg_replace('/^OAUTH_/', '', $keyforsupportedoauth2array);
173 173
             $keyforsupportedoauth2array = preg_replace('/_NAME$/', '', $keyforsupportedoauth2array);
174 174
             if (preg_match('/^.*-/', $keyforsupportedoauth2array)) {
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
             if (getDolGlobalString($key[4])) {
189 189
                 $shortscope = getDolGlobalString($key[4]);
190 190
             }
191
-            $state = $shortscope;   // TODO USe a better state
191
+            $state = $shortscope; // TODO USe a better state
192 192
 
193 193
             // Define $urltorenew, $urltodelete, $urltocheckperms
194 194
             if ($keyforsupportedoauth2array == 'OAUTH_GITHUB_NAME') {
Please login to merge, or discard this patch.
public/htdocs/admin/import.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
 $action = GETPOST('action', 'aZ09');
45 45
 $value = GETPOST('value', 'alpha');
46
-$modulepart = GETPOST('modulepart', 'aZ09');    // Used by actions_setmoduleoptions.inc.php
46
+$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php
47 47
 
48 48
 
49 49
 /*
Please login to merge, or discard this patch.
public/htdocs/admin/workflow.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
      * @param array{enabled:int<0,1>} $var
232 232
      * @return bool
233 233
      */
234
-    static function ($var) {
234
+    static function($var) {
235 235
         return (bool) $var['enabled'];
236 236
     }
237 237
 );
Please login to merge, or discard this patch.
public/htdocs/admin/hrm.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,14 +54,14 @@
 block discarded – undo
54 54
 
55 55
 $value = GETPOST('value', 'alpha');
56 56
 $label = GETPOST('label', 'alpha');
57
-$modulepart = GETPOST('modulepart', 'aZ09');    // Used by actions_setmoduleoptions.inc.php
57
+$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php
58 58
 
59 59
 $scandir = GETPOST('scan_dir', 'alpha');
60 60
 $type = 'evaluation';
61 61
 
62 62
 $arrayofparameters = array(
63
-    'HRM_MAXRANK' => array('type' => 'integer','enabled' => 1, 'css' => ''),
64
-    'HRM_DEFAULT_SKILL_DESCRIPTION' => array('type' => 'varchar','enabled' => 1, 'css' => ''),
63
+    'HRM_MAXRANK' => array('type' => 'integer', 'enabled' => 1, 'css' => ''),
64
+    'HRM_DEFAULT_SKILL_DESCRIPTION' => array('type' => 'varchar', 'enabled' => 1, 'css' => ''),
65 65
 );
66 66
 
67 67
 $error = 0;
Please login to merge, or discard this patch.
public/htdocs/admin/mails_emailing.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -465,7 +465,7 @@
 block discarded – undo
465 465
         print '<tr class="oddeven smtp_oauth_service hideifdefault"><td>' . $langs->trans("MAIN_MAIL_SMTPS_OAUTH_SERVICE") . '</td><td>';
466 466
 
467 467
         // SuperAdministrator access only
468
-        if (!isModEnabled('multicompany')  || ($user->admin && !$user->entity)) {
468
+        if (!isModEnabled('multicompany') || ($user->admin && !$user->entity)) {
469 469
             // @phan-suppress-next-line PhanPluginSuspiciousParamOrder
470 470
             print $form->selectarray('MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING', $oauthservices, $conf->global->MAIN_MAIL_SMTPS_OAUTH_SERVICE_EMAILING);
471 471
         } else {
Please login to merge, or discard this patch.
public/htdocs/admin/expensereport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
 $action = GETPOST('action', 'aZ09');
51 51
 $value = GETPOST('value', 'alpha');
52
-$modulepart = GETPOST('modulepart', 'aZ09');    // Used by actions_setmoduleoptions.inc.php
52
+$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php
53 53
 
54 54
 $label = GETPOST('label', 'alpha');
55 55
 $scandir = GETPOST('scan_dir', 'alpha');
Please login to merge, or discard this patch.
public/htdocs/admin/usergroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
 $action = GETPOST('action', 'aZ09');
46 46
 $value = GETPOST('value', 'alpha');
47
-$modulepart = GETPOST('modulepart', 'aZ09');    // Used by actions_setmoduleoptions.inc.php
47
+$modulepart = GETPOST('modulepart', 'aZ09'); // Used by actions_setmoduleoptions.inc.php
48 48
 
49 49
 $type = 'group';
50 50
 
Please login to merge, or discard this patch.