Test Failed
Branch develop (86e751)
by Laurent
34:11
created
htdocs/don/admin/donation.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
 
202 202
 $dir = "../../core/modules/dons/";
203 203
 $form=new Form($db);
204
-if (! empty($conf->accounting->enabled)) $formaccounting = New FormAccounting($db);
204
+if (! empty($conf->accounting->enabled)) $formaccounting = new FormAccounting($db);
205 205
 
206 206
 llxHeader('',$langs->trans("DonationsSetup"),'DonConfiguration');
207 207
 $linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToModuleList").'</a>';
Please login to merge, or discard this patch.
htdocs/product/card.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -840,7 +840,7 @@
 block discarded – undo
840 840
 $form = new Form($db);
841 841
 $formfile = new FormFile($db);
842 842
 $formproduct = new FormProduct($db);
843
-if (! empty($conf->accounting->enabled)) $formaccounting = New FormAccounting($db);
843
+if (! empty($conf->accounting->enabled)) $formaccounting = new FormAccounting($db);
844 844
 
845 845
 // Load object modBarCodeProduct
846 846
 $res=0;
Please login to merge, or discard this patch.
htdocs/core/filemanagerdol/connectors/php/io.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -374,7 +374,7 @@
 block discarded – undo
374 374
 	echo <<<EOF
375 375
 <script type="text/javascript">
376 376
 (function(){var d=document.domain;while (true){try{var A=window.parent.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();
377
-EOF;
377
+eof;
378 378
 
379 379
 	if ($errorNumber && $errorNumber != 201) {
380 380
 		$fileUrl = "";
Please login to merge, or discard this patch.
htdocs/core/modules/dons/html_cerfafr.modules.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
 				else if ($don->modepaiementid==4){
142 142
 				$ModePaiement = '<td width="25%"><input type="checkbox" checked="checked"> Remise d\'espèces</td><td width="25%"><input type="checkbox"> Chèque</td><td width="50%"><input type="checkbox"> Virement, prélèvement, carte bancaire</td>';
143 143
 				}
144
-				else if ($don->modepaiementid==2 OR $don->modepaiementid==3 OR $don->modepaiementid==6){
144
+				else if ($don->modepaiementid==2 or $don->modepaiementid==3 or $don->modepaiementid==6){
145 145
 				$ModePaiement = '<td width="25%"><input type="checkbox"> Remise d\'espèces</td><td width="25%"><input type="checkbox"> Chèque</td><td width="50%"><input type="checkbox" checked="checked"> Virement, prélèvement, carte bancaire</td>';
146 146
 				} 
147 147
 				else 
Please login to merge, or discard this patch.
htdocs/core/db/sqlite3.class.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1213,7 +1213,7 @@
 block discarded – undo
1213 1213
 
1214 1214
         // TODO prendre en compte le filtre
1215 1215
         foreach($pragmas as $var) {
1216
-            $sql = "PRAGMA $var";
1216
+            $sql = "pragma $var";
1217 1217
             $resql=$this->query($sql);
1218 1218
             if ($resql)
1219 1219
             {
Please login to merge, or discard this patch.
htdocs/core/login/functions_ldap.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
         $ldap->searchUser=$ldapuserattr."=".$usertotest.",".$ldapdn;  // Default dn (will work if LDAP accept a dn with login value inside)
139 139
 		// But if LDAP need a dn with name like "cn=Jhon Bloggs,ou=People,dc=foo,dc=com", previous part must have been executed to have
140 140
 		// dn detected into ldapUserDN.
141
-		if ($resultFetchLdapUser AND !empty($ldap->ldapUserDN)) $ldap->searchUser = $ldap->ldapUserDN;
141
+		if ($resultFetchLdapUser and !empty($ldap->ldapUserDN)) $ldap->searchUser = $ldap->ldapUserDN;
142 142
         $ldap->searchPassword=$passwordtotest;
143 143
 
144 144
 		// Test with this->seachUser and this->searchPassword
Please login to merge, or discard this patch.
htdocs/core/lib/barcode.lib.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
 /* ******************************************************************** */
28 28
 /*                          COLORS                                      */
29 29
 /* ******************************************************************** */
30
-$bar_color=Array(0,0,0);
31
-$bg_color=Array(255,255,255);
32
-$text_color=Array(0,0,0);
30
+$bar_color=array(0,0,0);
31
+$bg_color=array(255,255,255);
32
+$text_color=array(0,0,0);
33 33
 
34 34
 
35 35
 /* ******************************************************************** */
Please login to merge, or discard this patch.
htdocs/core/lib/admin.lib.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     $error=0;
134 134
     $i=0;
135 135
     $buffer = '';
136
-    $arraysql = Array();
136
+    $arraysql = array();
137 137
 
138 138
     // Get version of database
139 139
     $versionarray=$db->getVersionArray();
Please login to merge, or discard this patch.
htdocs/expensereport/card.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -993,7 +993,7 @@
 block discarded – undo
993 993
     			$message = $langs->transnoentities("ExpenseReportPaidMessage", $object->ref, $destinataire->getFullName($langs), $expediteur->getFullName($langs), $link);
994 994
 
995 995
         		// CONTENT
996
-        		$message = "Bonjour {$destinataire->firstname},\n\n";
996
+        		$message = "bonjour {$destinataire->firstname},\n\n";
997 997
         		$message.= "Votre note de frais \"{$object->ref}\" vient d'être payée.\n";
998 998
         		$message.= "- Payeur : {$expediteur->firstname} {$expediteur->lastname}\n";
999 999
         		$message.= "- Lien : {$dolibarr_main_url_root}/expensereport/card.php?id={$object->id}\n\n";
Please login to merge, or discard this patch.