Completed
Branch develop (043233)
by
unknown
25:03
created
test/phpunit/AccountancySystemTest.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,9 @@
 block discarded – undo
61 61
 		$mysoc = $soc;
62 62
 
63 63
 		/* Errors are caught in later tests. */
64
-		if ($socid <= 0)
65
-			return;
64
+		if ($socid <= 0) {
65
+					return;
66
+		}
66 67
 	}
67 68
 
68 69
 	/**
Please login to merge, or discard this patch.
htdocs/includes/odtphp/zip/PclZipProxy.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,10 @@
 block discarded – undo
34 34
 			throw new PclZipProxyException('PclZip class not loaded - PclZip library
35 35
 			 is required for using PclZipProxy'); ;
36 36
 		}
37
-		if ($forcedir) $this->tmpdir=preg_replace('|[//\/]$|','',$forcedir);	// $this->tmpdir must not contains / at the end
37
+		if ($forcedir) {
38
+			$this->tmpdir=preg_replace('|[//\/]$|','',$forcedir);
39
+		}
40
+		// $this->tmpdir must not contains / at the end
38 41
 	}
39 42
 
40 43
 	/**
Please login to merge, or discard this patch.
htdocs/core/lib/propal.lib.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,9 @@
 block discarded – undo
222 222
 	$listofstatus = array(Propal::STATUS_DRAFT, Propal::STATUS_VALIDATED, Propal::STATUS_SIGNED, Propal::STATUS_NOTSIGNED, Propal::STATUS_BILLED);
223 223
 
224 224
 	$propalstatic = new Propal($db);
225
-	if ($user->socid > 0) $socid = $user->socid;
225
+	if ($user->socid > 0) {
226
+		$socid = $user->socid;
227
+	}
226 228
 	$sql = "SELECT count(p.rowid) as nb, p.fk_statut as status";
227 229
 	$sql .= " FROM ".MAIN_DB_PREFIX."societe as s";
228 230
 	$sql .= ", ".MAIN_DB_PREFIX."propal as p";
Please login to merge, or discard this patch.
htdocs/core/lib/order.lib.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,9 @@
 block discarded – undo
240 240
 	/*
241 241
 	 * Statistics
242 242
 	 */
243
-	if ($user->socid > 0) $socid = $user->socid;
243
+	if ($user->socid > 0) {
244
+		$socid = $user->socid;
245
+	}
244 246
 	$sql = "SELECT count(c.rowid) as nb, c.fk_statut as status";
245 247
 	$sql .= " FROM ".MAIN_DB_PREFIX."societe as s";
246 248
 	$sql .= ", ".MAIN_DB_PREFIX."commande as c";
Please login to merge, or discard this patch.